Thank you Igor! sure, with or without Last-Modified header does not matter with generating unique names for the static artifacts (js, css, images). But setting Last-Modified header results the browsers send if_modified_since to nginx to check freshness of the files, which are actually unnecessary, cost server processing time. Setting Expires Header and change name of the files are enough toby tunggad - Nginx Mailing List - English
We are using NGINX to front end Jetty Server, serving static content is done by NGINX and we want to disable/remove the Last-Modified Header. The Reason why we want to disable this header is to eliminate validation requests If-Modified-Since. The build process automatically changes the filename of the static artefacts every when we deploy new version, so these validation requests are not necessby tunggad - Nginx Mailing List - English