based on the configuration as below:<br><br><pre>sub vcl_fetch {<br> if (!obj.cacheable) {<br> # Limit the lifetime of all 'hit for pass' objects to 10 seconds<br> obj.ttl = 10s;<br> pass;<br> }<br>}<br>
<br>when the object is not cacheable, then go to "pass" which means going to fetch the object from the backend server again?<span style="font-size: 11pt; color: rgb(31, 73, 125);"></span></pre><br><br><div class="gmail_quote">
2011/4/7 Traian Bratucu <span dir="ltr"><<a href="mailto:traian.bratucu@eea.europa.eu">traian.bratucu@eea.europa.eu</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-GB"><div><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">No, if an object is not cacheable, it will simply not be cached (stored in memory and later served from here instead of fetching from the backend), but IT WILL BE DELIVERED to the client. </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">The only time varnish will re-fetch the object from the backend is on a new client request.</span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p>
<p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Traian</span></p><p class="MsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><b><span style="font-size: 10pt;" lang="EN-US">From:</span></b><span style="font-size: 10pt;" lang="EN-US"> <a href="mailto:varnish-misc-bounces@varnish-cache.org" target="_blank">varnish-misc-bounces@varnish-cache.org</a> [mailto:<a href="mailto:varnish-misc-bounces@varnish-cache.org" target="_blank">varnish-misc-bounces@varnish-cache.org</a>] <b>On Behalf Of </b>??<br>
<b>Sent:</b> Thursday, April 07, 2011 11:25 AM<br><b>To:</b> <a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br><b>Subject:</b> a possible dead cycle?</span></p><div class="im">
<div><div><p class="MsoNormal"><br> when varnish fetch a page from backend server, and find it 's not cacheable, so go to fetch the page from backend sever again?<br> </p></div><div><p class="MsoNormal"> and find it 's not cacheable again , so again and agian .......?<br>
<br> please help me! thanks !<br><br> </p><pre> Regards! <br> pwlazy</pre></div></div></div></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="http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc" target="_blank">http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br></blockquote></div><br>