* Gitweb - caching
@ 2006-12-31 10:30 J.H.
2006-12-31 17:41 ` Robert Fitzsimons
0 siblings, 1 reply; 4+ messages in thread
From: J.H. @ 2006-12-31 10:30 UTC (permalink / raw)
To: git
There has been some recent discussion concerning the amount of resources
that gitweb is chewing through, particularly on kernel.org. I've just
pushed a small set of changes out to kernel.org that add in caching to
the gitweb thats running on it. Changes are published at
git://git.kernel.org/pub/scm/git/warthog9/gitweb.git
Thoughts or comments are welcome.
- John 'Warthog9'
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Gitweb - caching
2006-12-31 10:30 Gitweb - caching J.H.
@ 2006-12-31 17:41 ` Robert Fitzsimons
2006-12-31 20:01 ` Jeff Garzik
2006-12-31 20:52 ` Jakub Narebski
0 siblings, 2 replies; 4+ messages in thread
From: Robert Fitzsimons @ 2006-12-31 17:41 UTC (permalink / raw)
To: J.H.; +Cc: git
> 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?
Robert
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Gitweb - caching
2006-12-31 17:41 ` Robert Fitzsimons
@ 2006-12-31 20:01 ` Jeff Garzik
2006-12-31 20:52 ` Jakub Narebski
1 sibling, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2006-12-31 20:01 UTC (permalink / raw)
To: Robert Fitzsimons; +Cc: J.H., git
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Gitweb - caching
2006-12-31 17:41 ` Robert Fitzsimons
2006-12-31 20:01 ` Jeff Garzik
@ 2006-12-31 20:52 ` Jakub Narebski
1 sibling, 0 replies; 4+ messages in thread
From: Jakub Narebski @ 2006-12-31 20:52 UTC (permalink / raw)
To: git
Robert Fitzsimons wrote:
> * An infinite expiry date isn't valid for all pages.
An infinite expiry date is not valid at all. IIRC HTTP defines that
"infinite" expiry is one year.
--
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-12-31 20:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-31 10:30 Gitweb - caching J.H.
2006-12-31 17:41 ` Robert Fitzsimons
2006-12-31 20:01 ` Jeff Garzik
2006-12-31 20:52 ` Jakub Narebski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).