We have an Apache behind Nginx. Nginx is used to load balance between webservers and to cache static content. The only problem is, every time the web application is updated we have to completely clear Nginx cache (static file cache is set to quite a high value, some static files change often others not).
Is there a clever way to let Nginx periodically check that the file has been modified (note: Apache returns "Date" in response headers) since the time file had been cached by Nginx.