Re: [squid-users] Caching pages for users without a cookie (guest)

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 14 Jan 2009 15:50:26 +1300

Elli Albek wrote:
> Hi,
> We have reverse proxy squid in front of an application server.
> All static pages have cache headers and are cached properly.
>
> We want to cache dynamic pages as well, only for users that are not logged in. A logged in user has messages on the home page (like "you have a 5 messages in your inbox"), so pages for logged in users should not be cached.
>

Your squid is most likely configured with "cache deny QUERY".

http://wiki.squid-cache.org/ConfigExamples/DynamicContent

This lets squid believe the cache-control headers received in dynamic
requests.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE11
   Current Beta Squid 3.1.0.3
Received on Wed Jan 14 2009 - 02:51:58 MST

This archive was generated by hypermail 2.2.0 : Wed Jan 14 2009 - 12:00:03 MST