A small overview of the optimization techniques that we are talking about:<div><ol><li>Varnish -- a reverse proxy, resides in front of your web server and responds to cached contents.. since it is threaded as well for each client connection, the response time and server resources reduce a lot</li>
<li>Boost -- static page caching, stores html (can also store the gzipped version of the html) for a request (if cached) and checks it at the htaccess level itself.. page load and response time are significantly improved</li>
<li>Memcached -- memory key-value storage of small chunk of data that is stored in the RAM and reduces the load of database calls.. usually used for cache tables of Drupal, the BLOB format data is rendered from RAM directly.. reduces database load and therefore response time reduces</li>
</ol><div>Aligned to your requirement, all of these work only in case of anonymous requests. </div><div><ol><li>Running Varnish 2.x should not be a problem (and personally Varnish has been my favorite of the lot, given that Apache requires a bunch of modules eating a lot of memory, I&#39;d be more than happy to by-pass it for anonymous requests :-)) -- following links can be helpful</li>
<ol><li><a href="http://drupal.org/project/varnish">http://drupal.org/project/varnish</a></li><li><a href="http://drupal.org/node/1196916">http://drupal.org/node/1196916</a></li><li><a href="http://www.lullabot.com/articles/varnish-multiple-web-servers-drupal">http://www.lullabot.com/articles/varnish-multiple-web-servers-drupal</a></li>
</ol><li>Boost -- drupal 7 boost module works fine, without the conditional cache reset part.. I have been planning to work on that since a long time, seems like a good time to do that.. will keep you posted once i&#39;ve done something substantial there.. because boost is not stable, I would not take chances now</li>
<li>Memcache -- feasible but cannot server as an alternative to boost or varnish (both on server load and response time)</li></ol><div>So, yes, my guess is to go for Varnish 2.x version (3.x has issues with the current module for multi-server installations and it does not seem to offer a lot compared to 2.x when it comes to single server installation). </div>
</div><div><br></div><div>And please share your findings/observation after your success :-)</div><br><div class="gmail_quote">On Mon, Jan 9, 2012 at 11:04 PM, DTH <span dir="ltr">&lt;<a href="mailto:david@hartster.org">david@hartster.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;m currently setting up my first big Drupal site that requires<br>
caching. The vast majority of the traffic is anonymous, so we can<br>
cache full pages. Currently, for a somewhat smaller site on D6, we use<br>
Boost, which works pretty well. The only other requirements are:<br>
ideally have relatively smart expiration of caches (as well as<br>
clearing cache on page updates, things like updating related views on<br>
node updates) and it definitely needs to work with Domain Access<br>
(shouldn&#39;t be a problem I don&#39;t think for most caching solutions?).<br>
Also, caching that can also works for logged in users would be a<br>
bonus, but unnecessary. (ie. it would be nice if things were quicker<br>
for admin users, but that&#39;s lower down the scale of things)<br>
<br>
What&#39;s the easiest/safest/most foolproof/most common way to cache<br>
things on Drupal 7?<br>
<br>
Drupal 7&#39;s native cache - stores it in the database? Would ideally<br>
want to avoid the database entirely.<br>
Boost - seems to have slowed down a lot on development for D7?<br>
Varnish - have never used but this seems the most common D7 way -<br>
anything to be aware of? If Varnish listens on port 80, and I also<br>
have non-Drupal pages on the same domain, how do you pass through<br>
things so people can access <a href="http://example.com/nondrupal/page" target="_blank">example.com/nondrupal/page</a>? Do I need a<br>
reverse proxy or will Varnish pass it through itself? If starting from<br>
scratch, which version of Varnish should I use?<br>
Memcached - presumably am fine to use this alongside Varnish/Boost for<br>
logged in users. Do I just drop it in and use it for all systems<br>
(caching, sessions, locking)?<br>
<span class="HOEnZb"><font color="#888888">--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>Cheers,<div>Mukesh Agarwal</div><div>________________________________</div><div><font color="#999999"><a href="http://www.innoraft.com" target="_blank">Innoraft Solutions</a>  || </font><span style="color:rgb(153,153,153)">+91 8017220799</span></div>
<br>
</div>