I am setting up a reverse proxy cache using squid (squid/2.6.STABLE12)
but i have a little problem : i want to cache only pages served to
authenticated (via php) users. When a user is authenticated, i add a
cookie named jvpc_log, and i want to tell squid to forward all the
requests to my webserver when the cookie is set.
I have tried :
cache_peer 87.98.222.47 parent 80 0 no-query originserver connect-timeout=5
acl JV_AUTH_COOKIE req_header Cookie [-i] jvpc_log
cache deny JV_AUTH_COOKIE
but with cache deny squid remove the page from the cache when an
authenticated user load a page. That is not what i want, i only want to
tell squid to ignore the cache for this request, and continue to use the
same cached page for unauthenticated users.
How can i do this (and is it even possible ? :)
Thanks a lot
Received on Fri Jun 29 2007 - 02:24:35 MDT
This archive was generated by hypermail pre-2.1.9 : Sun Jul 01 2007 - 12:00:05 MDT