Re: [squid-users] Squid 3 HTTP accelerator not caching content

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Tue, 14 Oct 2008 20:05:11 +0200

On tis, 2008-10-14 at 09:04 -0700, Tom Williams wrote:
> > Is authentication required to access the server? If so then the server
> > need to return "Cache-Control: public" on the content which is
> > non-private and should be cached.
> >
> > Keep in mind that such content will be accessible directly from the
> > cache without using authentication.
> >
> Currently, basic authentication is required to access the site. I
> wasn't aware of "Cache-Control: public" so I'll see about configuring
> the server to return this. This is a HTTP header, correct?

It is.

Without it authenticated content is considered private, and not cached
by shared caches.

With "public" the content is considered public for all to access, not
really requiring authentication even if the request did include
authentication.

Regards
Henrik

Received on Tue Oct 14 2008 - 18:05:16 MDT

This archive was generated by hypermail 2.2.0 : Thu Oct 16 2008 - 12:00:04 MDT