How can i send proxy cache file's if-modified-since info to backend server?

hi all

i use nginx proxy cache to cache file from backend server, and when 

the cache are timeout, nginx will proxy the first request from client to
backend server, and delete the old cache file in nginx

but , if the backend file are not modified , nginx will not know, and
delete the cache also.

with squid , it will send an i-m-s header to backend server to 

confirm that cache need to be update or not

can you tell me , how could nginx do it ?

Posted at Nginx Forum:,15792,15792#msg-15792

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs