Releases: putyourlightson/craft-blitz
Releases · putyourlightson/craft-blitz
4.7.1
Changed
- Bumped the required version of the Blitz Hints package.
Fixed
- Fixed a potential issue with detecting whether SSI is enabled on the web server from the control panel.
- Fixed a bug in which generating the cache could throw an exception if no custom site URLs were added in the settings (#578).
4.7.0
Added
- Added a
DummyStorage
class that allows the cache storage driver to be set toNone
, useful if pages should be cached on a reverse proxy only (#502).
Changed
- Refreshing expired cached now forcibly generates new cached pages if they are not cleared (#571).
- Changed the refreshable status check to always consider elements with
live
andactive
statuses as refreshable (#572).
Fixed
- Fixed a bug in which the cached include path could be incorrectly set if specific included query string parameters were selected (#573).
- Fixed a bug in which saving included and excluded query string parameters was not possible were no values were specified.
4.6.0
Added
- Added the ability for Blitz to track disabled elements in relation field queries so that cached pages are refreshed when their status is set to enabled (#555).
Changed
4.5.5
Fixed
- Fixed a potential security issue.
4.5.4
Fixed
- Fixed a bug in which element query params containing multi and single option data were not being converted to values.
- Fixed a bug in which error exceptions were not being caught when produced by cached element queries during the refresh cache process.
4.5.3
Fixed
- Fixed a bug in which cached pages were not being cleared when using the Yii Cache Storage driver with gzip compression enabled.
4.5.2
4.5.1
Fixed
- Fixed a bug in which using dynamic includes with nginx server rewrites set to cache pages with query strings as the same page could incorrectly include the home page.
4.5.0
{warning} The cache must be cleared or refreshed after this update completes.
Added
- Added the ability to send compressed responses to browsers that accept supported encodings.
- Added the ability to save compressed cached values in the Yii Cache Storage to help reduce the memory required.
- Added tips that display whether
gzip
is enabled on the web server in the Cache Storage settings. - Added the
maxUriLength
config setting (#539).
Changed
- Cached includes and pages that contain SSI or ESI includes are now never compressed.
- Renamed the
createGzipFiles
setting tocompressCachedValues
. - Improved the performance of cache refresh jobs by optimising database queries (#496).
- The cache refresh process is now triggered when an asset’s file is replaced or its filename is changed (#514).
- Changed the URL that checks whether SSI is enabled on the web server to a relative URL.
Removed
- Removed the ability to create Brotli files and removed the setting (use gzip instead).
Fixed
- Fixed a bug in which the
cacheDuration
config setting was not being applied when the value was not an integer (#536). - Fixed a bug in which the
__home__
URI was not responding with a 404 error when it should have (#538). - Fixed a bug in which eager-loading of auto-injected elements was not being tracked on cached pages.
Deprecated
- Deprecated the
createGzipFiles
setting. - Deprecated the
createBrotliFiles
setting.
4.4.7
Changed
- Hardened checks against null responses to help avoid errors (#531).
Fixed
- Fixed a bug in which refreshing the cache could fail when using the Redis queue driver (#522).
- Fixed a bug in which URLs containing the control panel trigger were not being cached (#532).
- Fixed a bug in which a validation error could occur when an invalid email address was entered in the Cloudflare API Key Email field even when the authentication method was set to API Token.
- Fixed a race condition that could result in an SQL error if the database used read/write splitting (#531).
- Fixed the
getUri
deprecation notice to suggestfetchUri
instead offetch
(#508, #524).