Oh forgot one thing. You can use a tool called Varnishhist, which will show you a graphic representation on if your hitting the cache or not.<div><br></div><div>Cheers</div><div><br></div><div>Nick Tailor<br><br><div class="gmail_quote">
On Thu, Sep 20, 2012 at 12:59 AM, nick tailor <span dir="ltr"><<a href="mailto:nick.tailor@gmail.com" target="_blank">nick.tailor@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
If your site is taking 2-3 seconds that pretty slow. With Drupal 7 you need to do a couple things, such as disable the cron that runs form anonymous visits for maintenance and updates on each site and setup your own script that runs the cron at a specified time. You will need to get the unique ID from the inside the D7 GUI for each site to do this.<div>
<br></div><div>The reason why, is because varnish is checking the webserver, depending on how you setup your probe could be inadvertently be triggering the cron. The second piece to this how is you are handling your session cookie ID's. As in what is apache handling when sessionsID come in login creds., and what is the cache handling for anonymous visits. This is all defined in your VCL. </div>
<div><br></div><div>Cheers</div><div><br></div><div>Nick Tailor<br><br><div class="gmail_quote"><div class="im">On Tue, Sep 11, 2012 at 9:14 PM, Mark Strickland <span dir="ltr"><<a href="mailto:smsmail@roadrunner.com" target="_blank">smsmail@roadrunner.com</a>></span> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal">How do I prevent varnish from caching a iframe?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Also my website is loading in about 2=3 seconds, is that normal with varnish? How can I verify that varnish is working correctly. I am using drupal 7.<u></u><u></u></p>
</div></div><br></div>_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org" target="_blank">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>
</blockquote></div><br></div>