Skip to content

Commit

Permalink
Fix initial value of content
Browse files Browse the repository at this point in the history
  • Loading branch information
bencroker committed Apr 4, 2024
1 parent f6cd9cc commit d88bd07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/CacheRequestService.php
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ public function getCachedResponse(SiteUriModel $siteUri): ?Response
$cacheStorage = Blitz::$plugin->cacheStorage;
$siteUri = $event->siteUri;
$encoded = $this->requestAcceptsEncoding() && $cacheStorage->canCompressCachedValues();
$content = '';
$content = null;

if ($encoded) {
$content = $cacheStorage->getCompressed($siteUri);
Expand Down

0 comments on commit d88bd07

Please sign in to comment.