Ghost/ghost/core
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
..
content 🎨 Updated Source to v1.1.2 2023-12-01 16:04:16 +00:00
core Fixed incorrect cache invalidation headers for slugs Admin API endpoint (#19753) 2024-02-26 17:02:09 +00:00
test Fixed incorrect cache invalidation headers for slugs Admin API endpoint (#19753) 2024-02-26 17:02:09 +00:00
.c8rc.e2e.json Split CI database tests into separate types 2023-05-22 19:34:17 +02:00
.c8rc.json Added email address alignment protections (#19094) 2023-11-23 10:25:30 +01:00
.eslintignore Updated .eslintignore list for core 2022-10-10 15:12:52 +07:00
.eslintrc.js Updated linting and migration comment to improve practices 2023-06-26 15:29:37 +02:00
.npmignore Moved monobundle into monorepo 2023-11-13 13:30:38 +01:00
config.development.json Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
ghost.js Added browser-based testing framework 2022-11-22 14:12:34 +00:00
index.js Configured New Relic to load earlier in the process 2023-08-30 11:47:50 +02:00
jsconfig.json Deleted reference to core/admin 2022-08-03 16:28:41 +02:00
loggingrc.js Added version information to log lines 2023-01-20 13:18:44 +01:00
MigratorConfig.js Added eslint rule for file naming convention 2023-05-09 12:34:34 -04:00
monobundle.js Moved monobundle into monorepo 2023-11-13 13:30:38 +01:00
newrelic.js Configured New Relic integration within Ghost core 2023-08-29 09:30:25 +01:00
package.json v5.79.5 2024-02-26 06:26:13 +00:00
playwright.config.js Updated browser tests to be less flaky (#19701) 2024-02-21 17:47:44 +00:00