mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
6e6a4822f2
- Currently it's assumed that public files are 100% static - With card assets, we're using it for files that are partially static, but can change between reboots and theme changes - We already have a system for managing cache busting across theme changes and restarts - the ?v= key that is added via the asset helper - This was already in place and used, but servePublicFile's internal cache didn't honor this key, and cached for the lifetime of boot - This small change means that if a ?v= query param is present on a request for a public file, that we pay attention to it. Else we cache as before |
||
---|---|---|
.. | ||
e2e-api | ||
e2e-frontend | ||
e2e-server | ||
integration | ||
regression | ||
unit | ||
utils | ||
.eslintignore | ||
.eslintrc.js | ||
.jshintrc |