Skip to content

v3.7.0

Choose a tag to compare

@hondilla hondilla released this 28 Oct 12:44
· 32 commits to master since this release

Minor release on top of v3.6.0. See the README section "Publications".

  • Cache\ContentFreshness::register($this->app): for applications whose Editora admin runs in-process. Every admin write to public CMS tables records a publication time in the content store (sign-in, favourites, recent items, roles and permissions excluded; visitor requests and console commands never count). Writes are seen through QueryExecuted, so actions that dispatch no event (cloning, bulk deletes, images, imports) are covered too.
  • Cache\CachedExtractor: content read from the database before the last publication is no longer fresh; it is served once more and refreshed after the response, so no visitor waits for a cold render.
  • Cache\PageCache: the key includes the last publication, and a page rendered from content that was not fresh is answered as X-Page-Cache: STALE and not stored.

Without register() nothing is tracked; only the STALE rule applies. Verified in three Laravel 13 / PHP 8.5.12 consumers; lint clean on PHP 8.1 and 8.5.