Redirection and Restriction Message Caching
-
Browsers are caching the redirect and locally caching the page with the restriction message. Browsers are caching redirects even when they probably shouldn’t so I had to switch the restriction method to the message.
However, the page with the restriction method is getting locally cached. Please add a
do_action()to content-control/classes/Site/Posts.php (~line 70) before the return in thepublic static function the_content( $content ). This will allow developers to add their own no-cache headers.Ideally, you would add no-cache headers to this method to fix this issue, but it maybe easier just to add the action.
Thank you for developing this plugin – we use it on several sites.
The topic ‘Redirection and Restriction Message Caching’ is closed to new replies.