Hi dhanushka, Usually, all image files are static and you can just have varnish always cache them. The objects cached. you can have it set so that the cache is updated say every 30 seconds as long as your webservers are up, and you can also set, should your webservers go down the ttl for the objects cached is now longer making everything appear that its all still up, you fix your issues with your backend. The better you know your application and how it works, the more fine tuned you can make your VCL
Cheers Nick Tailor On Wed, Sep 26, 2012 at 12:11 AM, dhanushka ranasinghe < [email protected]> wrote: > Hi... guys > > just one more question , lets say > > i have BLACK colored image with following URL > http://a.content.com/wp-content/themes/image.gif [1] > > then i change the image color to RED , and URL [1] is same as above . i > just want to know since im using *return (lookup) , *is varnish going > to serve old [black] image from cache or new image [red] form back-end . > when users accessing the URL [1] > > Thank in Advance.. > > Thank You > > * > > * > On 25 September 2012 20:40, Enno van Amerongen <[email protected]> wrote: > >> ** >> that is correct. >> >> ------------------------------ >> *From:* dhanushka ranasinghe [mailto:[email protected]] >> *Subject:* Re: return (lookup) means >> >> >> i just want to know im using "return (lookup)" , if the content does not >>> found in varnish cache , its it going to talk to backend and get the >>> correct content... >>> >>> > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc >
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
