Pages not caching

Hi,

I am trying to set up a simple pages cache for my site, but it isn’t working. This is in my domain-specific config file:

<?php

  return [
    'debug' => false,
    'environment' => 'staging',

    'cache' => [
      'pages' => [
        'active' => true,
      ]
    ],
    
];

?>

The pages folder is being generated on the server, but is remaining empty. I am not sure what to look at to debug what is happening here.

I have a few plugins installed if those might be affecting things:

  • bnomei/fingerprint
  • mzur/uniform
  • sylvainjule/imageboxes
  • sylvainjule/imageradio
  • sylvainjule/locator
  • tobimori/seo

Not sure, maybe response is not cacheable, check out the article:

Also I would try the caching without the plugins.