WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
WP Super Cache with Restricted Site Access plugin not working (4 posts)

  1. jlamerto
    Member
    Posted 2 years ago #

    I have noticed an issue with cached pages being served to unauthenticated users while using wp super cache and Restricted Site Access.

    It appears that the cached page is being delivered without any authentication routines unless the page is stale and regenerated.

    Has anyone else had similar problems? Did you find a solution?

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    I'm not surprised this is happening, you could use PHP mode in WP Super Cache but the restricted site access plugin would have to be modified to support this. Not an insurmountable problem.

  3. jlamerto
    Member
    Posted 2 years ago #

    We already use WP Super Cache in PHP mode and it works very satisfactorily from a performance standpoint.

    What is required to make access type plugin compatible with super cache? Are you able to give me a few pointers in how integration might be achieved?

  4. Donncha O Caoimh
    Member
    Plugin Author

    Posted 2 years ago #

    Look in plugins/wp-super-cache/plugins/ for some existing plugins. Also the developer docs and wp-cache-phase1.php where content is served.

    If the majority of page views are restricted then you might want to modify the cache_key for anonymous users so they won't see supercache files, or the other way around ...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic