Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

revalidated cached content

$
0
0
I would like to see a feature to enable proxy_cache re-validation (proxy_cache_revalidate on|off?)

When cached content is expired, nginx should check with the origin server if the content has changed.
This to prevent unnecessary downloads from the origin if the content was not changed.

e.g.

If configured:
proxy_cache_valid $value
proxy_cache_revalidate on

If content is expired after $value, re-validate with origin, if content has not been changed (304), extend the validation with proxy_cache_valid value.
When the content is changed, fetch and cache new data from origin.

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>