On Tue, 18 Oct 2005, H. Peter Anvin wrote: > > I set up mod_cache (which I didn't know about, silly me) and so far it seems > to work and has produced a tremendous decrease in load and improvement in > response time. It really doesn't work very well with the "front page" though.. Doing a "Save page as.." shows that it's not a huge page: it's roughly 700 lines long and 57kB in size, but pressing the reload button (or just going somewhere else and coming back immediately) takes 45 seconds to reload for me. Trying again shows that it _is_ cached if you press the reload button immediately again, but I haven't quite figured out how long the cache timeout is. It seems to be around one minute (from some very preliminary tests it's more than 25 seconds, but less than a minute and a half). Considering that apparently the load is enough that it takes 45 seconds to generate (scary in itself), is should clearly be cached for more than one minute. More like ten minutes or half an hour, especially since mirroring any content changes takes longer than that anyway. Now, I suspect all the content on kernel.org could easily be cached for ten minutes. As far as I can tell, mod_cache without any expiry information uses CacheDefaultExpire which should default to one hour according to the docs. Have you changed that to one minute? Maybe making it 10 minutes would be better? That said, I tried to figure out how the front page is generated, but haven't quite. Can somebody (Kay?) please say what it does most, and I can try to make sure git does that efficiently.. Linus - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Wed Oct 19 10:28:29 2005
This archive was generated by hypermail 2.1.8 : 2005-10-19 10:29:03 EST