boldenamsterdam / htmlcache

Cache pages to HTML and boost website performance on Craft CMS 3
MIT License
31 stars 21 forks source link

$app->request->getIsCpRequest() is always true #28

Closed loqus closed 4 years ago

loqus commented 4 years ago

HtmlCacheService.php line if (\Craft::$app->request->getIsCpRequest()) { return false; }

always returns false even though it isn't a CpRequest. Commenting it out makes the plugin work again

loqus commented 4 years ago

Wrong conclusion