Re: [PATCH] gitweb: Support caching projects list
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Mar 14, 2008, 00:27 UTC
- Message-ID
- <76718490803131727p451967hee96ff26206c97b7@mail.gmail.com>
- In-Reply-To
- <20080314002205.GL10335@machine.or.cz>
On Thu, Mar 13, 2008 at 8:22 PM, Petr Baudis <pasky@suse.cz> wrote:
> There is a more conceptual problem though - in case of such big sites, > it really makes more sense to explicitly regenerate the cache > periodically instead of making random clients to have to wait it out.
Fork off a child to update the cache?
> Unlikely. Currently the machine is mostly IO-bound and only small > portion of CPU usage comes from gitweb itself.
Except that if it were FastCGI or mod_perl you could just keep the cache in memory.
j.