Object no cached when TTL expires

Roberto O. Fernández Crisial roberto.fernandezcrisial at gmail.com
Wed Jan 12 13:44:37 CET 2011


I expect Varnish request the object from webserver, show HIT and Age header
increase value.

This is the sequence right now:

1) user ask for image
2) varnish receive request
3) varnish ask the webserver
4) varnish cache the object
5) varnish response user request
6) varnish response users requests for 1800s (TTL)
7) when TTL expires varnish should ask again webserver for the object and
cache it (but it doesn't)
8) varnish response MISS for the object (Age header always shows value "0")
and ask webserver for every user request :(

What should I do? Any experience handle problem like that?

Thank you,
Roberto.

On Tue, Jan 11, 2011 at 7:02 PM, Per Buer <perbu at varnish-software.com>wrote:

> 2011/1/11 Roberto O. Fernández Crisial <roberto.fernandezcrisial at gmail.com
> >:
>
> > I've unset beresp.http.Etag but still doesn't work. After TTL expires,
> the
> > Age header shows "0":
>
> What do you expect to happend after the TTL expires?
>
>
>
> --
> Per Buer, Varnish Software
> Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer
> Varnish makes websites fly!
> Want to learn more about Varnish?
> http://www.varnish-software.com/whitepapers
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20110112/e0509084/attachment-0003.html>


More information about the varnish-misc mailing list