Web Application Performance: Difference between revisions

From Rixort Wiki
Jump to navigation Jump to search
(Created page with "== HTTP headers == * Cache-Control: max-age * ETag: Hash of file, don't download if unchanged (but beware of how this is calculated, e.g. Apache may use inodes by default which differ on load-balanced servers) * Expires: Re-download after this * Last-Modified")
 
Line 5: Line 5:
* Expires: Re-download after this
* Expires: Re-download after this
* Last-Modified
* Last-Modified
Most headers won't help on first visit.

Revision as of 15:52, 11 July 2023

HTTP headers

  • Cache-Control: max-age
  • ETag: Hash of file, don't download if unchanged (but beware of how this is calculated, e.g. Apache may use inodes by default which differ on load-balanced servers)
  • Expires: Re-download after this
  • Last-Modified

Most headers won't help on first visit.