Loggerhead setting 'Cache-Control' header for static fields

Robert Collins robertc at robertcollins.net
Sat May 1 02:47:27 BST 2010


That seems fine; btw there is a much better http reference these days:
http://tools.ietf.org/wg/httpbis/

Many unclear/ambiguous regions of the standard have been clarified and fixed.

The squid in the DC is acting as a front-end server: its allowed to
pretend to be the backend; so we can have loggerhead offer year-long
caching to squid, and tell squid to only offer 1 day or whatever to
clients. Broadly though:
 -- if the content will change /meaning/ cache with care
 -- if the content won't change at all - cache aggressively.

Using new URL's is a great way to move things into the won't-change at
all category.

-Rob



More information about the bazaar mailing list