0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/frontend
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
..
apps Updated NFT card markup 2021-11-19 11:59:45 +01:00
helpers Added middleware for serving minified card assets 2021-11-05 11:41:03 +00:00
meta Added fallbacks when the site title is undefined 2021-10-27 12:18:57 +02:00
public Moved public folder to frontend 2021-10-16 19:27:34 +01:00
services 🐛 Fixed perms error when building public assets 2021-11-19 11:36:45 +00:00
src/cards Fixed callout card emoji alignment 2021-11-22 10:52:21 +01:00
views Updated unsubscribe.hbs (#13365) 2021-10-04 12:18:42 +01:00
web Updated servePublicFile to honor v= cache keys 2021-11-23 12:49:53 +00:00