Welcome! Log In Create A New Profile

Advanced

Re: Nginx proxy cache doesn't update cache-control max-age time!

J.R.
April 06, 2020 01:26PM
> There is no Age header support in nginx as of now (relevant ticket
> in Trac: https://trac.nginx.org/nginx/ticket/146). If you want
> pages to expire at a specific time regardless of intermediate
> caching, consider using the "Expires" header.

The 'age' header appears to be something else... What I'm talking
about specifically is part of the 'cache-control' header...

For example: "cache-control: max-age=9848, public, must-revalidate"

Without max-age decrementing while in the nginx proxy cache, all
client will receive the same cached number until the cache is
refreshed.

Since the proxy cache is storing the cache time internally (so it
knows when a page expires from its cache), one would think there could
be some way to get the max-age value to be updated from that internal
data.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx proxy cache doesn't update cache-control max-age time!

J.R. April 06, 2020 11:28AM

Re: Nginx proxy cache doesn't update cache-control max-age time!

Maxim Dounin April 06, 2020 12:00PM

Re: Nginx proxy cache doesn't update cache-control max-age time!

J.R. April 06, 2020 01:26PM

Re: Nginx proxy cache doesn't update cache-control max-age time!

Maxim Dounin April 06, 2020 02:36PM

Re: Nginx proxy cache doesn't update cache-control max-age time!

J.R. April 06, 2020 07:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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