• 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?

    https://www.ads-software.com/extend/plugins/quick-cache/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter xnosek00

    (@xnosek00)

    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: https://www.mywebserver.org/cached-page – the page is shown. It’s because Quick Cache doesn’t testing logged in users.

    Thread Starter xnosek00

    (@xnosek00)

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Don't cache for non Logged in’ is closed to new replies.