Hey Brion,
Doh! It does look like the UTM code that Google Analytics uses does cookie anonymous users, will this prevent us from configuring Squid properly? The cookies won't affect the display of the pages loaded, is there a way to ignore a set of cookies that start with __utm in the context of the cache?
Travis
Message: 10 Date: Mon, 05 Dec 2005 11:32:34 -0800 From: Brion Vibber brion@pobox.com Subject: Re: [Wikitech-l] Squid configuration problem To: Wikimedia developers wikitech-l@wikimedia.org Message-ID: 439495D2.3050400@pobox.com Content-Type: text/plain; charset="iso-8859-1"
Travis Derouin wrote:
Hey,
Does anyone have any suggestions about configuring Squid in reverse proxy for MW? We're seeing that our articles aren't being cached and Squid is still making several requests per second for the same article, despite configuring Squid as instructed at meta.wikimedia.org. Here are our settings:
$wgUseSquid = true; $wgUseESI = false; $wgInternalServer = $wgServer; $wgSquidMaxage = 18000; $wgSquidServers = array('10.234.169.202'); $wgSquidServersNoPurge = array(); $wgMaxSquidPurgeTitles = 400; $wgSquidFastPurge = true;
Squid and Apache are running on different machines, and we're seeing several 200 response codes for unchanged articles from Apache, even in a small time span of a few minutes. While the apache load has been reduced, we should be seeing Squid handling more of the serving of normal article pages, instead of forwarding the request to Apache almost 100% of the time.
Can you confirm that anonymous users have no cookies? If you manually hit the server with manual HTTP can you confirm cache hits/misses?
-- brion vibber (brion @ pobox.com)