diff --git a/components/com_content/src/Controller/DisplayController.php b/components/com_content/src/Controller/DisplayController.php index ddc70f104c62c..9e368144b7b24 100644 --- a/components/com_content/src/Controller/DisplayController.php +++ b/components/com_content/src/Controller/DisplayController.php @@ -120,6 +120,11 @@ public function display($cachable = false, $urlparams = false) } } + // Allow caching of the response by Browser (and other Agents) + if ($vName !== 'form' && $user->guest) { + $this->app->allowCache(true); + } + parent::display($cachable, $safeurlparams); return $this;