Proxy with header If-Modified-Since

hi all,

I find that when the cache is expired,nginx request completely to
backend for fresh cache even the file wasn’t modified.Could nginx
request to backend with header “If-Modified-Since” when the cache is
expired? If this,backend will response with code 304, nginx should deal
with the 304 response.

2011-09-06

chinix

Hello!

On Tue, Sep 06, 2011 at 10:39:56PM +0800, chinix wrote:

hi all,

I find that when the cache is expired,nginx request completely
to backend for fresh cache even the file wasn’t modified.Could
nginx request to backend with header “If-Modified-Since” when
the cache is expired? If this,backend will response with code
304, nginx should deal with the 304 response.

This is not currently supported.

Maxim D.