Different cache time for authentication & non auth users
quintinpar at gmail.com
Sun Oct 21 03:17:47 UTC 2012
How can I set separate caching expiration time for authenticated and non
In my case the caching is set this way
proxy_cache_valid 200 302 2m;
The presence of session ID ensure separate cache pages for auth & non auth
But I want an experience where non auth users have a page cached for 1 hour
and auth users have a page cached for 2 mins.
How can I achieve this in Nginx? Can someone help?
FYI, this is under the same location directive.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx