Ghost/ghost/core/test
Kevin Ansfield ab7c1cfa92
Fixed incorrect cache invalidation headers for slugs Admin API endpoint (#19753)
closes ENG-666

- the Admin API `GET /slugs/{type}/{slug}/` endpoint is used by Admin to check when a potential slug needs de-duping by adding a `-{x}` suffix. Most often this occurs when setting a draft post title
- the endpoint was returning a full-site cache invalidation header meaning hosting services could be blowing away their site caches and needlessly hurting performance because this endpoint is purely a read operation and makes no changes to the site
- updated the endpoint to return no cache invalidation header
2024-02-26 17:02:09 +00:00
..
e2e-api Fixed incorrect cache invalidation headers for slugs Admin API endpoint (#19753) 2024-02-26 17:02:09 +00:00
e2e-browser Updated browser tests to be less flaky (#19701) 2024-02-21 17:47:44 +00:00
e2e-frontend 🐛 Fixed broken access to preview of scheduled email-only posts (#19539) 2024-01-22 14:20:50 +00:00
e2e-server Added cache config to stats endpoints (#19481) 2024-01-18 15:26:49 +01:00
e2e-webhooks Cleaned up lexicalEditor labs flag, switched Post model to lexical-by-default (#18607) 2023-10-23 17:51:34 +01:00
integration Fixed reply-to address to stay the same after dmarc changes (#19542) 2024-01-23 16:22:40 +01:00
regression Improved sending email addresses for self-hosters (#19617) 2024-01-30 11:21:08 +01:00
unit Added config option to disable db backups (#19614) 2024-02-01 12:09:41 -06:00
utils Added an email rendering test for all Koenig cards (#19059) 2023-12-12 16:05:04 -08:00
.eslintignore Added Source as the new default theme 2023-10-03 14:02:08 +02:00
.eslintrc.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00