New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Nginx Micro Cache
I am using nginx as reverse proxy with apache at the back end.
How do we tell nginx to serve from cache even if the request has a query string?
For example if a visitor goes to domain.tld?random-string, it bypasses the nginx cache. I want to serve the visitor from nginx cache even if a query string is attached.
Comments
Inside the
server
section,cachePolicy extended;
Have you seen this link :
https://www.dougcodes.com/web-development/use-nginx-to-use-query-strings-while-caching