Skip to content

Commit

Permalink
5.9.6
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Nov 15, 2024
1 parent 328244c commit aa4c056
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Release Notes for Blitz

## 5.9.6 - 2024-11-15

### Fixed

- Fixed a bug that was preventing cache generation when “Do not cache URLs with query strings” was selected ([#733](https://github.com/putyourlightson/craft-blitz/issues/733)).

## 5.9.5 - 2024-11-13

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "putyourlightson/craft-blitz",
"description": "Intelligent static page caching for creating lightning-fast sites.",
"version": "5.9.5",
"version": "5.9.6",
"type": "craft-plugin",
"homepage": "https://putyourlightson.com/plugins/blitz",
"license": "proprietary",
Expand Down
2 changes: 1 addition & 1 deletion src/services/CacheRequestService.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public function getIsCacheableSiteUri(?SiteUriModel $siteUri): bool
return false;
}

if (Blitz::$plugin->settings->queryStringCaching == SettingsModel::QUERY_STRINGS_DO_NOT_CACHE_URLS) {
if (Blitz::$plugin->settings->queryStringCaching === SettingsModel::QUERY_STRINGS_DO_NOT_CACHE_URLS) {
$queryStringParams = QueryStringHelper::getValidQueryStringParams($siteUri->uri);

if (!empty($queryStringParams)) {
Expand Down

0 comments on commit aa4c056

Please sign in to comment.