RSS Feed/News Allow disabling Guest Page Cache via templates

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
30,665
Points
823

Reputation:

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.

xenforo.com

XF 2.2 - Disable Exclude Cache pages for guests at Page - Node Level ?

We're really liking the ability to "Cache pages for guests". It's a fantastic feature and seems to be incredibly effective. One thing we're dealing with is that we have one "page" that we would like to NOT be cached by this system. Is there any way to disable Cache pages for guests at a page...
xenforo.com
xenforo.com

Continue reading...
 
Status
Not open for further replies.
Top