[squid-users] cookie value & squid cache

From: karj <gkaragiannidis_at_dolnet.gr>
Date: Mon, 2 Jan 2012 17:44:50 +0200

Dear all,
We are using squid 2.7.STABLE9
And
We have a generic cookie system, which, essentially shows a
person's country location for displaying the weather inside a web page.
The value of the cookie 99% equals with A,
if someone changes his location and wants to display a different city
the value of the cookie will change accordingly, to B, C , D etc.
Is there a way to cache different responses of the origin according to the
cookie value.
If not,
can we cache the web page when the cookie value is A
and send all other request to origin web servers i.e. when the cookie values
are B or C or D (there are almost 200 values for the cookie).

The url is somethening like.
weather.example.com/ajax.aspx?m=Weather.DefaultCities

Thanks in advance
Received on Mon Jan 02 2012 - 15:45:05 MST

This archive was generated by hypermail 2.2.0 : Mon Jan 02 2012 - 12:00:02 MST