• I am planning to use this plugin specifically for the ability to set content restrictions based on user role. This will be used for both entire pages and content sections created using Elementor.
    The site will also be using a caching plugin as well as a CDN.
    In order for these pages to not be cached I will have to have some type of a flag to
    1) tell the caching plugin not to cache the page and
    2) set headers so that the CDN does not cache the page.
    I have no problem doing either of the above.
    What I would like to know: Is there any way for me to detect when a page is saved if the page or any content on the page is restricted so that I can set a meta value for the page to flag the page prevent page caching so that this can be done dynamically rather than adding a setting to each page to allow turning caching on/off manually for each page?

Viewing 1 replies (of 1 total)
  • Plugin Author Georgian Cocora

    (@raster02)

    Hello @hube2,

    If you don’t enable cache for logged in users you shouldn’t have to worry about this. A user sees the restricted content -> he logs in -> he can see it immediately.

    You can detect the general content restriction settings fairly easily. But for Elementor restrictions, I’m not quite sure if you can do this.

    Regards.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.