news feeds

Jacqui Caren jacqui.caren at
Tue Feb 7 13:45:16 GMT 2006

Dominic Mitchell wrote:
> One more thing...  For feeds, it's generally a better idea to write to a
> file and then just let Apache serve the file.  This is because Apache
> knows how to do stuff like If-Modified-Since, ETags, gzip encoding and
> the rest, which can bring large bandwidth savings.  Otherwise you have
> to implement it all yourself, which is boring and wasteful.

A lot of this (not all) in Apache 2 is available to CGI and MP2.
Ignoring this, you are right that low (relatively static) data should be 
in files.
If nothing else, If-Modified-Since is a major plus that is usually a 
bugger (and often a waste of time) to implement dynamically.


More information about the mailing list