WordPress.org

Ready to get started?Download WordPress

Forums

Quick Cache (Speed Without Compromise)
Don't cache for non Logged in (3 posts)

  1. xnosek00
    Member
    Posted 11 months ago #

    Quick Cache version: 111203

    I'm trying to resolve problem. Cache for logged in users is enabled - I need it.

    Logging to my website is required.

    Problem is that cached files for my logged users are visible for non logged users.

    Is there any way, how to disable cache for non logged in? I need it only for logged in users.

    The solution can be at the end of advanced-cache.php.

    I add test - if is user logged in. But it does'n work. Function is_user_logged_in() is not defined in advanced-cache.php.

    if (QUICK_CACHE_ENABLED && is_user_logged_in()) /* Only if enabled. */
            call_user_func("ws_plugin__qcache_handler");

    Do you have any idea, how to resolve this problem?

    http://wordpress.org/extend/plugins/quick-cache/

  2. xnosek00
    Member
    Posted 11 months ago #

    I think it's a security bug. If I'm using Quick Cache for logged in users, only logged in users can see cached pages.

    But if a non logged user writes url: http://www.mywebserver.org/cached-page - the page is shown. It's because Quick Cache doesn't testing logged in users.

  3. xnosek00
    Member
    Posted 11 months ago #

    problem solved by using another plugin - Lite Cache.

    Plugin Lite Cache is testing, that is user logged in.

    But I still think, that there is a security problem in Quick Cache.

Reply

You must log in to post.

About this Plugin

About this Topic