Staticache not working, hard to debug

Hey,

Is staticache supposed to work with v4?
I am trying to get it work with a simple projects website, but my localhost_8888/pages folder stays empty. Is there a way to debug this? Maybe to see if the site is being ignored by the cache? Or the return of a reason why it’s not cached?

Here is my config.php if that helps any.

return [
  'debug'  => true,
  
  'auth' => [
    'methods'   => ['password', 'password-reset'],
    'challenge' => [
      'timeout' => 1 * 60
    ]
  ],
  
  'thumbs' => [
    'presets' => [
      'thumb' => ['width' => 100, 'quality' => 90],
      'cards' => ['width' => 400, 'quality' => 90],
      'cover' => ['width' => 2000, 'quality' => 90]
    ]
  ],
  
  'cache' => [
    'pages' => [
      'active' => true,
      'type'   => 'static',
    ]
  ]
];
?>```
1 Like