revalidated cached content
June 11, 2013 09:54AM
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.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 115
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready