0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test
Hannah Wolfe 6e6a4822f2
Updated servePublicFile to honor v= cache keys
- 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
2021-11-23 12:49:53 +00:00
..
e2e-api Removed force start from themes test 2021-11-22 17:47:44 +04:00
e2e-frontend Force start in email route tests to pick up stubbed API 2021-11-17 10:51:46 +00:00
e2e-server
integration Removed unnecessary rewire call 2021-11-22 14:53:16 +04:00
regression Removed unneeded mocks 2021-11-22 21:56:32 +13:00
unit Updated servePublicFile to honor v= cache keys 2021-11-23 12:49:53 +00:00
utils Renamed withBackend/withFrotned to backend/frontend 2021-11-22 21:56:32 +13:00
.eslintignore
.eslintrc.js
.jshintrc