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

shineyear nginx-forum at nginx.us
Thu Oct 22 12:32:29 MSD 2009


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: http://forum.nginx.org/read.php?2,15792,15792#msg-15792






More information about the nginx mailing list