Looking to optimize the site's performance and that of the homepage specifically, the Lighthouse tool in Chromium browsers has made some suggestions. Some of these will have repercussions throughout the app so we're going to make them their own tickets.
Recommendation: Serve static assets with an efficient cache policy
A long cache lifetime can speed up repeat visits to your page. details
Overview
Increasing the cache setting will mean users can lean on browser caching longer
Benefit (the 80 of 80/20)
Noticeable for fonts!
Noticeable for visitors who'd see files that don't change often (images)
Irrelevant for our css and js files which are named with a new hash with each deploy
Effort (the 20 of 80/20)
Moderate
Complications
Will changing the cache-controlmax-age affect files we don't want it to?
Background
Looking to optimize the site's performance and that of the homepage specifically, the Lighthouse tool in Chromium browsers has made some suggestions. Some of these will have repercussions throughout the app so we're going to make them their own tickets.
Recommendation: Serve static assets with an efficient cache policy
A long cache lifetime can speed up repeat visits to your page. details
Overview
Increasing the cache setting will mean users can lean on browser caching longer
Benefit (the 80 of 80/20)
Effort (the 20 of 80/20)
Moderate
Complications
cache-control
max-age
affect files we don't want it to?Related tickets