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

  1. xnosek00
    Posted 3 years 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. */

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


  2. xnosek00
    Posted 3 years 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
    Posted 3 years 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic