Hi
dhanushka,<div><br></div><div>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<br>
<br>Cheers</div><div><br></div><div>Nick Tailor<br><br><div class="gmail_quote">On Wed, Sep 26, 2012 at 12:11 AM, dhanushka ranasinghe <span dir="ltr"><<a href="mailto:parakrama1282@gmail.com" target="_blank">parakrama1282@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi... guys<br><br>just one more question , lets say <br><br>i have BLACK colored image with following URL <a href="http://a.content.com/wp-content/themes/image.gif" target="_blank">http://a.content.com/wp-content/themes/image.gif</a> [1] <br>
<br>then i change the image color to RED , and URL [1] is same as above . i just want to know since im using <b>return (lookup) , </b>is varnish going to serve old [black] image from cache or new image [red] form back-end . when users accessing the URL [1]<br>
<br>Thank in Advance..<br><br>Thank You<div class="HOEnZb"><div class="h5"><br><b><br><br></b><div class="gmail_quote">On 25 September 2012 20:40, Enno van Amerongen <span dir="ltr"><<a href="mailto:enno@tty.nl" target="_blank">enno@tty.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div>
that is correct.<br><blockquote style="padding-left:5px;margin-left:5px;border-left:#0000ff 2px solid;margin-right:0px"><hr><b>From:</b> dhanushka ranasinghe [mailto:<a href="mailto:parakrama1282@gmail.com" target="_blank">parakrama1282@gmail.com</a>]<br>
<b>Subject:</b> Re: return (lookup) means<div><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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...<br><br></blockquote></div>
</div></blockquote>
</div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org">varnish-misc@varnish-cache.org</a><br>
<a href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br></div>