Responsible JavaScript

Responsible JavaScript

Jeremy Wagner

This is an example of a strong caching policy for a versioned static asset: Cache-Control: max-age=31536000, immutable This instructs the browser to cache the associated asset up to one year. We’ve also added an additional immutable directive as a further optimization, which tells supporting browsers, “Hey! This file will never change. Don’t bother checking with the server to see if it has!”
688-693