Answer the question
In order to leave comments, you need to log in
Caching in nginx?
It is necessary to use nginx to cache the address with and without get-parameters for different times:
/path/ - for 10 seconds;
/path/?something - for a day.
The cache keys must also be different (but everything is clear with this).
Can it be done? Nginx is built with the perl module. Proxy_cache is used.
Answer the question
In order to leave comments, you need to log in
Well, make two zones with different lifetimes, and make proxy_cache with the desired zone by location.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question