KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm having difficulty finding a clear-cut, practical explanation for what is the correct way to leverage browser caching to increase page speed. According to this site : It is important to specify one of Expires or Cache-Control max-age, and one of Last-Modified or ETag, for all cacheable resources. It is redundant to specify both Expires and Cache-Control: max-age, or to specify both Last-Modified and ETag. Is this correct? If so, should I use Expires or max-age ? I think I have a general understanding of what both of those are but don't know which is usually best to use. If I have to also do Last-Modified or ETag , which one of those? I think I get Last-Modified but am still very fuzzy on this ETag concept. Also, which files should I enable browser caching for?
Tags (comma-separated)
Save Edits
Cancel