Oops...
I meant
Vary: Accept-Encoding, Cookie
E
- Original Message -
From: Elli Albek e...@sustainlane.com
To: 'Amos Jeffries' squ...@treenet.co.nz
Cc: squid-users@squid-cache.org
Sent: Sun, 18 Jan 2009 22:00:18 -0800 (PST)
Subject: RE: [squid-users] Caching pages for users without
Subject: Re: [squid-users] Caching pages for users without a cookie (guest)
Elli Albek wrote:
Amos what about this:
I add a squid URL rewrite rule, that whenever the cookie exists, append a
meaningless query parameter to the URL.
The origin server will ignore this parameter, and squid
: Wednesday, January 14, 2009 12:03 PM
To: Elli Albek
Cc: Amos Jeffries; squid-users@squid-cache.org
Subject: Re: [squid-users] Caching pages for users without a cookie (guest)
The thing is that squid should cache for some users and not for other
users.
Lets say we have two users, me (logged
.
But why are you evading adding a Vary: header?
Amos
E
-Original Message-
From: Amos Jeffries [mailto:squ...@treenet.co.nz]
Sent: Wednesday, January 14, 2009 12:03 PM
To: Elli Albek
Cc: Amos Jeffries; squid-users@squid-cache.org
Subject: Re: [squid-users] Caching pages for users without
Subject: Re: [squid-users] Caching pages for users without a cookie (guest)
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.
[mailto:squ...@treenet.co.nz]
Sent: Tuesday, January 13, 2009 6:50 PM
To: Elli Albek
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Caching pages for users without a cookie (guest)
Your squid is most likely configured with cache deny QUERY.
http://wiki.squid-cache.org/ConfigExamples
: Re: [squid-users] Caching pages for users without a cookie (guest)
Elli Albek wrote:
Hi,
Those are dynamic pages, but their URLs to not contain any query parameters.
The home page is a good example for a URL that is database driven.
In addition URLs like those:
mydomain.com/san-francisco
-users@squid-cache.org
Sent: Wed, 14 Jan 2009 01:06:40 -0800 (PST)
Subject: Re: [squid-users] Caching pages for users without a cookie
(guest)
Elli Albek wrote:
Hi,
Those are dynamic pages, but their URLs to not contain any query
parameters.
The home page is a good example for a URL
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