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 Fixed ETag header for admin templates not changing between versions (#13680) 2021-10-22 14:25:58 +01:00
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 Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.js Upgraded no-skipped-test rule to error 2021-05-26 14:57:43 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00