0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test/unit
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
..
api Moved URL service to backend 2021-10-19 07:29:09 +13:00
frontend Updated servePublicFile to honor v= cache keys 2021-11-23 12:49:53 +00:00
server Revert "Replace update user last seen middleware with package version" 2021-11-17 11:00:55 +00:00
shared Introduced booting from fixture url cache in test environment 2021-11-22 21:56:32 +13:00