Welcome! Log In Create A New Profile

Advanced

revalidated cached content

Posted by tehmaniax 
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
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.

Online Users

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