Guest page caching


Active member
helloi use redis cache but i need to set Guest page caching in config
$config['cache']['enabled'] = true;
$config['pageCache']['enabled'] = true;
$config['cache']['context']['page']['provider'] = 'Redis';
$config['cache']['context']['page']['config'] = [];

i add this code to to my config but website down.


Well-known member
Be aware using the same instance of Redis for both regular caching and guest page caching is not recommended. It is recommended to use a distinct caching "instance" for page caching. This is why:

You will also find good examples of working configs in that same thread.