Fwd: Refreshing modified content

thebog thebog at gmail.com
Thu Dec 16 21:23:15 CET 2010


---------- Forwarded message ----------
From: thebog <thebog at gmail.com>
Date: Thu, Dec 16, 2010 at 9:22 PM
Subject: Re: Refreshing modified content
To: Paulo Paracatu <paulo at aliancaproject.com>


The "best" thing to do in this case is to purge the object from the
cache. (http://www.varnish-cache.org/docs/trunk/tutorial/purging.html)

Or change the URL :)


YS
Anders Berg


On Thu, Dec 16, 2010 at 9:09 PM, Paulo Paracatu
<paulo at aliancaproject.com> wrote:
> Hi. I'm trying Varnish on my servers, and so far I'm quite happy with it.
> But I have a little problem: I uploaded an image, hit it in my browser, then
> I modified it and reuploaded it, and tried to hit it again, and the cache
> serves the old image. It does not serve the new image until the ttl (120s)
> is expired.
> I tried the "VCLExampleEnableForceRefresh", but the varnish-cache is only
> refreshed with ctrl-f5/no-cache header. Is this the normal behavior of
> varnish, or is it possible to 'revalidate' the cached content with the
> backend?
> PS: My browser's cache is disabled.
> Thanks
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>




More information about the varnish-misc mailing list