79249249

Date: 2024-12-03 21:46:43
Score: 0.5
Natty:
Report link

The behavior of browsers has changed in the second half of 2020 such that the accepted answer is no longer the case.

In order to protect against cross-site tracking, browsers have changed their caching strategy so that the cache key is now a combination of the requested resource, the domain requesting the resource, and possibly other parameters.

If your sites request the global jQuery, modules from unpkg.com, font files from Google fonts or GA's (Google Analytics) analytics.js, users will redownload the resources no matter if they downloaded and cached them for other sites already.1

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Elfalem