This release contains fixes for minor bugs and issues reported by Ghost users.
View the changelog for full details: v5.79.5...v5.79.6
Tag Name: v5.79.6
Release Date: 2/26/2024
GhostOpen-source publishing platform specifically designed for professional bloggers and publications. Focuses on clean, minimalist writing and publishing experience.
This minor release fixes an issue with the Admin API's slugs endpoint that was incorrectly triggering full-site cache invalidation. The fix prevents unnecessary cache clearing when checking slug availability, improving performance for sites using hosting services with caching.
No migration steps are required for this release. The fix is automatically applied when updating to v5.79.6.
This release is recommended for all Ghost users, especially those using hosting services with caching mechanisms. The update improves performance by preventing unnecessary cache invalidation when checking slug availability.
The upgrade is low-risk as it only modifies response headers for a specific Admin API endpoint and doesn't change any core functionality or database structures.
Fixed an issue with the Admin API GET /slugs/{type}/{slug}/ endpoint that was incorrectly sending full-site cache invalidation headers. This endpoint is used by the Admin interface to check when a potential slug needs de-duplication by adding a -{x} suffix, most commonly when setting a draft post title.
The endpoint was returning cache invalidation headers despite being a read-only operation that makes no changes to the site. This could cause hosting services to unnecessarily clear their site caches, negatively impacting performance.
The fix removes these cache invalidation headers from the response, ensuring that read-only operations don't trigger cache clearing.
No new features were introduced in this release.
No security fixes were included in this release.
This release improves performance by preventing unnecessary cache invalidation when checking slug availability. Previously, the Admin API's slugs endpoint would trigger full-site cache invalidation despite being a read-only operation.
For Ghost sites using hosting services with caching mechanisms, this change will:
This release addresses a performance issue related to cache invalidation in the Admin API. By fixing the incorrect cache invalidation headers in the slugs endpoint, Ghost sites will experience fewer unnecessary cache clears, resulting in better performance and resource utilization.
The impact is most significant for:
While this is a minor bugfix release, the performance improvement could be substantial for busy sites where the slugs endpoint is frequently accessed during content creation workflows.
This release contains fixes for minor bugs and issues reported by Ghost users.
View the changelog for full details: v5.79.5...v5.79.6