I think you are mixing up browser cache and server side cache. My question is specifically about reverse proxy caching dynamic content served from WSGI app and has nothing to do how client browser cache it. proxy_cache_path /path/to/cache levels... inactive=180d ; location ~ /myapp { ... proxy_cache $cache_zone_name; proxy_cache_key $cache_keby olat - Nginx Mailing List - English
is expires not for static content only? my question is how to long-time cache dynamic content? Olaby olat - Nginx Mailing List - English
Hello, Is it possible to configure proxy cache to be valid forever ? I have been playing with proxy_cache_valid vs inactive but didnt go very far thanks in advance Olaby olat - Nginx Mailing List - English
Looks like there is a bug in the forum. 2 the same topics and the response ended up in the wrong thread, mixed up ;-) Anyway, Thanks Igor for a quick response. Could you explain more why regex is not a good idea? I am asking about regex in the context of caching some of the requests on front-end proxy to speed up django app loading dynamic content where session is involved. Does it mean each ofby olat - Nginx Mailing List - English
Hello, I would like to ask about regex. Why these 2 doesn't behave the same? location ~ /(apple/|pear/(small|big)/|test(ing|er)/(fruit|vegis)_)* location ~ /apple/*|/pear/(small|big)/*|/test(ing|er)/(fruit|vegis)_* could you point me to good practice? Olaby olat - Nginx Mailing List - English