trafficserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reindl Harald <h.rei...@thelounge.net>
Subject revalidate -> WARNING: [CacheControl] Unknown modifier at line 3 in cache.config
Date Sat, 10 May 2014 11:07:26 GMT
Hi

the idea of the config below is to have images up to 5 minutes in the cache
but every 30 seconds revalidate with the origin which would repsond with a
304 status code if unchanged - somehow "revalidate" seems not to be known

http://docs.trafficserver.apache.org/en/latest/reference/configuration/cache.config.en.html

revalidate
For objects that are in cache, overrides the the amount of time the object(s) are to
be considered fresh. Use the same time formats as pin-in-cache
_____________________________________________________________________________

[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 3 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 4 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 6 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 7 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 8 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 9 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 10 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 12 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 13 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 14 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 15 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 17 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 18 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 19 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 20 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 21 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 22 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 23 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 24 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 25 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 26 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 27 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 28 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 29 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 30 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 31 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 32 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 33 in cache.config
[May 10 13:01:55.486] Server {0x2b71c0e26480} WARNING: [CacheControl] Unknown modifier at
line 34 in cache.config
_____________________________________________________________________________

# cache.config

url_regex=. suffix=css ttl-in-cache=300 cache-responses-to-cookies=1 revalidate=30s
url_regex=. suffix=js ttl-in-cache=300 cache-responses-to-cookies=1 revalidate=30s

url_regex=. suffix=htc ttl-in-cache=300 cache-responses-to-cookies=1 revalidate=30s
url_regex=. suffix=html ttl-in-cache=300 cache-responses-to-cookies=1 revalidate=30s
url_regex=. suffix=htm ttl-in-cache=300 cache-responses-to-cookies=1 revalidate=30s
url_regex=. suffix=txt ttl-in-cache=300 cache-responses-to-cookies=1 revalidate=30s
url_regex=. suffix=xml ttl-in-cache=300 cache-responses-to-cookies=1 revalidate=30s

url_regex=. suffix=jpg ttl-in-cache=300 cache-responses-to-cookies=1 revalidate=30s
url_regex=. suffix=jpeg ttl-in-cache=300 cache-responses-to-cookies=1 revalidate=30s
url_regex=. suffix=gif ttl-in-cache=300 cache-responses-to-cookies=1 revalidate=30s
url_regex=. suffix=png ttl-in-cache=300 cache-responses-to-cookies=1 revalidate=30s

url_regex=. suffix=aac ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=15m
url_regex=. suffix=avi ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=15m
url_regex=. suffix=flac ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=15m
url_regex=. suffix=flv ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=15m
url_regex=. suffix=m4a ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=15m
url_regex=. suffix=m4v ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=15m
url_regex=. suffix=mov ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=15m
url_regex=. suffix=mp3 ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=15m
url_regex=. suffix=mp4 ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=15m
url_regex=. suffix=mpeg ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=15m
url_regex=. suffix=mpg ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=15m
url_regex=. suffix=ogg ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=15m
url_regex=. suffix=ogv ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=15m
url_regex=. suffix=vp8 ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=20m
url_regex=. suffix=wav ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=20m
url_regex=. suffix=webm ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=20m
url_regex=. suffix=wma ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=20m
url_regex=. suffix=wmv ttl-in-cache=1200 cache-responses-to-cookies=1 revalidate=20m


Mime
View raw message