In message <1233581275.11992.75.ca...@rant-e-minor>, Matko Bregovic writes:
>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.

You decide your own lookup string in vcl_hash, so just don't use
the entire req.url, but only the bits you want.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to