~ps10gel/ubuntu/xenial/trafficserver/6.2.0

« back to all changes in this revision

Viewing changes to proxy/config/cache.config

  • Committer: Bazaar Package Importer
  • Author(s): Arno Toell
  • Date: 2011-01-13 11:49:18 UTC
  • Revision ID: james.westby@ubuntu.com-20110113114918-vu422h8dknrgkj15
Tags: upstream-2.1.5-unstable
ImportĀ upstreamĀ versionĀ 2.1.5-unstable

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# cache.config
 
3
#
 
4
# The purpose of this file is to alter caching parameters of
 
5
#   specific objects or sets of objects
 
6
#
 
7
# Each line consists of a set of tag value pairs.  The pairs
 
8
#   are in the format  <tag>=<value>
 
9
 
10
# Each line must include exactly one primary specifier
 
11
#
 
12
#   Primary destination specifiers are
 
13
#     dest_domain=
 
14
#     dest_host=
 
15
#     dest_ip=
 
16
#     url_regex=
 
17
#
 
18
#
 
19
# Lines may include any number of the secondary specifiers but
 
20
#    secondary specifiers may not be duplicated on the same line
 
21
#
 
22
#   Secondary specifiers are
 
23
#     port=
 
24
#     scheme=
 
25
#     prefix=
 
26
#     suffix=
 
27
#     method=
 
28
#     time=
 
29
#     src_ip=
 
30
#     tag=<tag_value>
 
31
#
 
32
#     Note: 1. method secondary specifier is NOT supported in MIXT
 
33
#           2. tag is an OPTIONAL directive which specifies a unique identifier
 
34
#           for the current record.  This is needed for MIXT, since we may want
 
35
#           to select a record that is not necessarily the first one
 
36
#           that matches.
 
37
#
 
38
# Each line must include exactly one cache directive
 
39
#   Cache directives are
 
40
#     action=never-cache
 
41
#     action=ignore-no-cache          (client & server no cache)
 
42
#     action=ignore-client-no-cache   (only client no cache)
 
43
#     action=ignore-server-no-cache   (only server no cache)
 
44
#     pin-in-cache=<time>
 
45
#     revalidate=<time>
 
46
#     ttl-in-cache=<time>             (force caching and expire after <time>)
 
47
#
 
48
#
 
49
# Examples
 
50
#
 
51
#  Revalidate all http objects from www.example.com after 2 hours 
 
52
#    dest_domain=www.example.com   scheme=http  revalidate=2h