• Resolved Allprowebworks

    (@allprowebworks)


    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 the public 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.

Viewing 1 replies (of 1 total)
  • Plugin Support Kim L

    (@kimmyx)

    Hi @allprowebworks,

    Thanks for the post! We’ve forwarded your suggestion to our development team.

    Content Control is currently undergoing a plugin rewrite with more features added. Kindly watch out for it. 🙂

    Have a great day!

Viewing 1 replies (of 1 total)

The topic ‘Redirection and Restriction Message Caching’ is closed to new replies.