Re: [squid-users] cookies?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 28 Aug 2003 22:42:51 +0200

On Thursday 28 August 2003 10.27, Michael wrote:
> I have a semi-dynamic site that has been caching well up to now and
> I made a change that allows users to select the stylesheet they
> want to use and save the choice as a cookie that then causes the
> right stylesheet to be selected for each viewer. How will that
> effect caching? Are proxy servers smart enough to cache multiple
> versions based on cookies are will this screw my caching up in
> general?

Assuming your server is smart enought to indicate the variance of the
reply via the Vary header when the same HTTP requests results in
different data depending on the request headers (i.e. Cookie header)
then Squid-2.5 will do just fine.

If you don't then there will be a big mess as Squid can not magically
guess that your server are looking into the cookie to determine how
to reply to the user..

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
If you need commercial Squid support or cost effective Squid or
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Thu Aug 28 2003 - 14:44:38 MDT

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