Pull Request #1 Use the 'immutable' Cache-Control directive for long-lived assets

This adds the `immutable` directive to fingerprinted assets that
already had a 1-year max-age, to avoid unnecessary HTTP 304 requests.

Before:
`Cache-Control: public, max-age=31536000`

After:
`Cache-Control: public, max-age=31536000, immutable`

See:
https://hacks.mozilla.org/2017/01/using-immutable-caching-to-speed-up-the-web/
https://code.facebook.com/posts/557147474482256/this-browser-tweak-saved-60-of-requests-to-facebook/

Is the travis-web-index port of travis-ci/travis-web#1375,
which refs travis-ci/travis-ci#8601.

Ed Morley avatar Ed Morley

Pull request event #13 failed

  • Ran for
  • New branch build
AMD64
no language set
Git

Sorry, we're having troubles fetching jobs. Please try again later.