Re: [squid-users] Override the hierarchy_stoplist

From: <hno@dont-contact.us>
Date: Tue, 30 Oct 2001 08:51:08 +0100

philip.wolfe@centrelink.gov.au wrote:

> Web developer wants to cache a page with ? in the URL.
>
> If the Web origin server includes the HTTP Header "Cache-Control:public"
> will it override the configuration "hierarchy_stoplist" and cache an
> object with a (?) ?

Adding "Cache-Control: public" won't make any difference. It is usually
the default unless the user has authenticated himself. (exception: some
dynamic servers like Microsoft ASP automatically adds a "Cache-Control:
private" header unless the called program specifically sets it to
public)

What matters is to provide expiry information to Squid, either by
Expires or Cache-Control: max-age or indirectly via Last-Modified.
Dynamically generated information usually does not have this kind of
information, and thus Squid won't cache them assuming the content is
private or uncacheable even if not explicitly told so by the origin
server.

Regards
Henrik Nordström
Squid Hacker
Received on Tue Oct 30 2001 - 01:23:40 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:03:12 MST