return (lookup) means
nick tailor
nick.tailor at gmail.com
Wed Sep 26 17:06:17 CEST 2012
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 <
parakrama1282 at gmail.com> 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 <enno at tty.nl> wrote:
>
>> **
>> that is correct.
>>
>> ------------------------------
>> *From:* dhanushka ranasinghe [mailto:parakrama1282 at gmail.com]
>> *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
> varnish-misc at varnish-cache.org
> https://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/20120926/e76fada6/attachment.html>
More information about the varnish-misc
mailing list