Welcome! Log In Create A New Profile


revalidated cached content

Posted by tehmaniax 
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.


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: 100
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