Welcome! Log In Create A New Profile

Advanced

RE: proxy_cache_path 'inactive' vs http cache-control / expires headers?

Reinis Rozitis
April 02, 2020 01:02PM
> Is there any way to tie the 'inactive' time to the cache-control header
> expiration time so that pages that are cached in a certain time-window are
> always kept and not deleted until after the header expiration time?

You can just set the inactive time longer than your possible maximum expire time for the objects then the cache manager won't purge the cache files even the object is still valid but not accessed.

rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

proxy_cache_path 'inactive' vs http cache-control / expires headers?

J.R. April 02, 2020 12:32PM

RE: proxy_cache_path 'inactive' vs http cache-control / expires headers?

Reinis Rozitis April 02, 2020 01:02PM

Re: proxy_cache_path 'inactive' vs http cache-control / expires headers?

roger_bc April 03, 2020 11:34AM

Re: proxy_cache_path 'inactive' vs http cache-control / expires headers?

Maxim Dounin April 03, 2020 12:28PM

Re: proxy_cache_path 'inactive' vs http cache-control / expires headers?

roger_bc April 03, 2020 11:26PM

Re: proxy_cache_path 'inactive' vs http cache-control / expires headers?

Maxim Dounin April 05, 2020 08:12AM

Re: proxy_cache_path 'inactive' vs http cache-control / expires headers?

J.R. April 02, 2020 01:44PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 144
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