Expires maximum on Nginx

I have a few questions about this directive:

  • Is this what tells the browser how often it should extract the file?
  • What are the recommended hours / days settings / maximum for this on the css website / image files?
  • If I set this value to max, but then update some files on the server, will user browsers not receive new files before they expire?
+5
source share
1 answer

expires max; (2030 ). . , . (, "/style/main.css?v=2" ).

"favicon.ico" expires max. , . favicon 1-2 .

+9

All Articles