From: Jeff Garzik Date: Sun, 31 Dec 2006 20:01:33 GMT Subject: Re: Gitweb - caching Message-ID: <4598171D.2040002@garzik.org> In-Reply-To: <20061231174123.GI6558@localhost> Robert Fitzsimons wrote: >> Thoughts or comments are welcome. > > Interesting work, John. Some initial comments: > > * It's a very intrusive set of changes. > * An infinite expiry date isn't valid for all pages. > * The other HTTP headers can change depending on the page returned. > * A single cache directory is going to have problems as the number of > cached files grows. > > What are the benefits of doing this inside of gitweb instead of using > something like mod_cache or mod_perl handlers? Or wrapping the gitweb output inside cgicache: http://linux.yyz.us/projects.html Jeff