Lack of interest Allow disabling Guest Page Cache via templates

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Kirby

Well-known member
Currently, guest page cache can be limited to certain routes via config.php.

It is also possible to disable it at runtime by setting \XF\Pub\App::$allowPageCache = false;.

It would be nice if some functionality could be exposed to set this from templates, this would allow end users to easily disable guest page cache without requiring (complex) Add-ons.

 
Upvote 1
This suggestion has been closed. Votes are no longer accepted.
Top Bottom