Object no cached when TTL expires

Roberto O. Fernández Crisial roberto.fernandezcrisial at gmail.com
Tue Jan 11 16:00:36 CET 2011


Hi guys,

I have a question about varnish vcl, can you help me? Once the varnish
service is started the object (in this case an image) is cached:

Via    1.1 varnish, 1.1 V107WPROD
Connection    Keep-Alive
Proxy-Connection    Keep-Alive
Content-Length    2678
Age    4
Date    Tue, 11 Jan 2011 14:20:01 GMT
Content-Type    image/jpeg
Etag    "a76-49992a41d1b5d"
Server    Apache/2.2.15 (Unix) mod_fcgid/2.3.5
Last-Modified    Tue, 11 Jan 2011 14:10:04 GMT
X-Cacheable    1800.004
X-Varnish    826882404 826879249
X-Varnish-Cache    HIT Varnish (9)


After some minutes later:

Via    1.1 varnish, 1.1 V107WPROD
Connection    Keep-Alive
Proxy-Connection    Keep-Alive
Content-Length    2678
Age    1299
Date    Tue, 11 Jan 2011 14:41:36 GMT
Content-Type    image/jpeg
Etag    "a76-49992a41d1b5d"
Server    Apache/2.2.15 (Unix) mod_fcgid/2.3.5
Last-Modified    Tue, 11 Jan 2011 14:10:04 GMT
X-Cacheable    1800.004
X-Varnish    832397538 826879249
X-Varnish-Cache    HIT Varnish (21056)


When TTL expires (1800s) the object is no longer been cached:

Via    1.1 varnish, 1.1 V107WPROD
Connection    Keep-Alive
Proxy-Connection    Keep-Alive
Content-Length    2678
Age    0
Date    Tue, 11 Jan 2011 14:58:03 GMT
Content-Type    image/jpeg
Etag    "a76-499933333a882"
Server    Apache/2.2.15 (Unix) mod_fcgid/2.3.5
Last-Modified    Tue, 11 Jan 2011 14:50:05 GMT
X-Cacheable    1800.002
X-Varnish    836621253
X-Varnish-Cache    MISS Varnish


Unless the service is restarted. Do you have any idea what could be happen?
Do you see something abnormal in headers? My Varnish version is "varnishd
(varnish-2.1.3 SVN )".

Thank you very much,
Roberto.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110111/391167f5/attachment-0003.html>


More information about the varnish-misc mailing list