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 07:58PM
> The Age header is the HTTP/1.1 way to decrement effective value of
> max-age, see here:
>
> https://tools.ietf.org/html/rfc7234#section-4.2.3

Interesting...

Well, I solved the issue by simply removing the 'max-age' portion from
the 'cache-control' header, keeping the other portion. Expiration is
handled strictly from the 'expires' tag, which seems to be valid
according to one of those RFC's. Testing things out and caching
expires exactly when it is supposed to! So happy I can keep the proxy
cache enabled now!
_______________________________________________
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: 306
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