On Mon, Jul 28, 2008 at 1:44 PM, Kevin Brown <[EMAIL PROTECTED]> wrote:
>> - disable negative caching for 401 and 403 responses
>>  Less ugly than the previous solution, and probably reasonably accurate.
>
> A whitelist of HTTP responses that are likely to be returned by a
> functioning server is fine. The entire 4xx range isn't suitable though (in
> particular because a lot of web servers return 404 when they're
> malfunctioning). Given the small number of HTTP response codes, it shouldn't
> be too hard to add a map of all potential response codes and the behavior
> for each.

OK.  Let's start with this policy:

cache-control headers are respected for 200, 401, and 403 responses.

cache-control headers are ignored for all other response codes.

We can build up the policy as we go.

Cheers,
Brian

Reply via email to