github putyourlightson/craft-blitz 4.8.0

latest releases: 5.7.1, 5.7.0, 4.23.0...
10 months ago

Added

  • Added a new ExpireCacheService class that handles marking cache as expired when the refresh mode is set to expire the cache.
  • Added a new cacheControlHeaderExpired config setting that reduces the max cache age in public reverse proxies to 5 seconds by default for expired pages.
  • Added a new defaultCacheControlHeader config setting that is sent by default if no other cache headers are sent (#580).

Changed

  • Cache control headers are now set to the new cacheControlHeaderExpired config setting when a cached response is sent for an expired page, meaning that expired cache can now be organically regenerated.
  • Cached pages are now expired when refreshed via the utility or console commands and when the refresh mode is set to expire the cache.

Don't miss a new craft-blitz release

NewReleases is sending notifications on new releases.