Help: cache or not by cookie
is at rambler-co.ru
Thu Jul 9 11:05:16 MSD 2009
On Wed, Jul 08, 2009 at 06:40:49PM -0400, nfn wrote:
> Sorry for bumping this topic but I was trying to setup a similar configuration.
> I want to show cached pages for a refresh of 6 min to guests (cookie user=guest) and to members (cookie user=usergroup)
proxy_cache_key "http://cacheserver$request_uri $cookie_user";
> Am I able to read the value from the cookie? How?
> How do I add X-Accel-Expires: 0 to nginx?
You should add this header in backend.
More information about the nginx