Welcome! Log In Create A New Profile

Advanced

Re: Reverse proxy caching for dynamic content

May 15, 2019 07:10AM
Yes, upstream behaves as you would expect.

Right now Nginx proxy_valid is set to 1 second. After that second Nginx revalidates with upstream and upstream will respond with 304 if applicable.

I just do not want Nginx to serve from cache during that second. It always needs to revalidate.

Apache supports this as noted here by somebody else: https://stackoverflow.com/questions/41252208/nginx-cache-but-immediately-expire-revalidate-using-cache-control-public-s-ma
Subject Author Posted

Reverse proxy caching for dynamic content

flierps May 15, 2019 03:57AM

Re: Reverse proxy caching for dynamic content

Patrick May 15, 2019 04:44AM

Re: Reverse proxy caching for dynamic content

flierps May 15, 2019 07:10AM

Re: Reverse proxy caching for dynamic content

Patrick May 15, 2019 11:38PM

Re: Reverse proxy caching for dynamic content

flierps May 16, 2019 12:59AM

Re: Reverse proxy caching for dynamic content

Patrick May 16, 2019 01:12AM

Re: Reverse proxy caching for dynamic content

flierps May 16, 2019 01:38AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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