Welcome! Log In Create A New Profile

Advanced

Re: proxy cache

February 08, 2017 09:30AM
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_key;
proxy_cache_valid 200 180d;
...

from https://www.nginx.com/blog/nginx-caching-guide/ I understood that proxy_cache_valid is not overwriting inactive, what is the best combination of these params?
Subject Author Posted

proxy cache

olat February 08, 2017 05:25AM

Re: proxy cache

itpp2012 February 08, 2017 05:49AM

Re: proxy cache

olat February 08, 2017 05:58AM

Re: proxy cache

itpp2012 February 08, 2017 07:38AM

Re: proxy cache

olat February 08, 2017 09:30AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 212
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready