pixlsus / website

The PIXLS.US website
https://pixls.us
Creative Commons Attribution Share Alike 4.0 International
14 stars 11 forks source link

Consider fingerprinting for JS/CSS assets for cache-busting #38

Open patdavid opened 7 years ago

patdavid commented 7 years ago

Using Travis CI for the build and push process now means all the files for the site end up with new ETags (and there is no caching happening at the moment).

So we should be approaching cache options to keep the site snappy. Part of this might be to set long cache-control headers on JS/CSS and use fingerprinting to cache-bust on newness.

patdavid commented 7 years ago

Relevant https://github.com/h5bp/server-configs-apache/blob/master/src/web_performance/expires_headers.conf