Cache dynamic pages based on some (and not all) query parameters?
Matko Bregovic
matko.bregovic at travellab.com
Mon Feb 2 14:27:55 CET 2009
Hi,
I wonder if it's possible to cache pages based on some query parameters.
All (GET) query parameters for search.jsp, but 'search.x=', 'search.y='
and 'random=' should be part of the cache key uniqueness.
An example URL:
search.jsp?homeLeaveMonth=200902&numberOfRooms=1&destLeaveDay=12&isReturn=true&paxAdults=1&homeCity=SAO&search.y=0&search.x=0&view=air&paxKids=0&destLeaveMonth=200902&extPartner=&destCity=PAR&paxTeens=0&specificAirline=all&formActive=true&paxInfants=0&homeLeaveDay=5&random=1906
Another question is if pages can be completely ignored if there's a
cookie in place with format: "loggedIn=true".
// Matko
More information about the varnish-misc
mailing list