Re: [squid-users] cache only certain files?

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Fri, 30 May 2008 11:06:05 +0200

On fre, 2008-05-30 at 09:14 +0200, Anton Melser wrote:
>
> The app is a bit stupid now (not the original codebase, what was added
> after), and it's either all or nothing. Which is the problem... but
> yes, it definitely sends the all the right headers for caching, even
> when it shouldn't (which is the problem!).

Then you probably also want

acl no-cache rep_mime_header Cache-Control no-cache max-age=0*(,|\s) private

reply_header_access Cache-Control deny !cachable_pages !no-cache
reply_header_access Expires deny !cachable_pages !no-cache

Regards
Henrik

Received on Fri May 30 2008 - 09:06:19 MDT

This archive was generated by hypermail 2.2.0 : Tue Aug 05 2008 - 01:05:14 MDT