• I have autooptimize with WP Super Cache, but when I go the settings and I want to display the cached file, there are none?

    Cache Contents
    WP-Cache (0KB)
    
    0 Cached Pages
    0 Expired Pages
    WP-Super-Cache (0KB)
    
    0 Cached Pages
    0 Expired Pages
Viewing 8 replies - 1 through 8 (of 8 total)
  • Enable the debug log in WP Super Cache and it will tell you what’s being cached or not.

    Thread Starter LaMpiR

    (@lampir)

    I have no message at the end of a page, even though it is turned on.
    I have turned on the debug log.

    Does the debug log say anything about not caching a page?

    Try disabling autooptimize and see if that helps.

    Thread Starter LaMpiR

    (@lampir)

    `10:35:40 2943444 /favicon.ico wpsc_get_auth_cookies: cookies detected: wordpress_logged_in_xxxxxx
    10:35:40 2943444 /favicon.ico wpsc_is_caching_user_disabled: true because logged in
    10:35:40 2943444 /favicon.ico Caching disabled for logged in users on settings page.
    10:35:40 2943444 /favicon.ico wp_cache_get_cookies_values: Login/postpass cookie detected
    10:35:40 2943444 /favicon.ico wp_cache_get_cookies_values: return: xxxxxx
    10:35:40 2943444 /favicon.ico In WP Cache Phase 2
    10:35:40 2943444 /favicon.ico Setting up WordPress actions
    10:35:40 2943444 /favicon.ico Created output buffer
    10:35:40 2943444 /favicon.ico wp_cache_get_cookies_values: cached: xxxxxx
    10:35:40 2943444 /favicon.ico Redirect detected. Caching disabled.
    10:35:40 2943444 /favicon.ico wp_cache_maybe_dynamic: returned $buffer
    10:35:41 2943444 /favicon.ico wpsc_get_auth_cookies: cookies detected: wordpress_logged_in_xxxxxx
    10:35:41 2943444 /favicon.ico wpsc_is_caching_user_disabled: true because logged in
    10:35:41 2943444 /favicon.ico Caching disabled for logged in users on settings page.
    10:35:41 2943444 /favicon.ico wp_cache_get_cookies_values: Login/postpass cookie detected
    10:35:41 2943444 /favicon.ico wp_cache_get_cookies_values: return: xxxxxx
    10:35:41 2943444 /favicon.ico In WP Cache Phase 2
    10:35:41 2943444 /favicon.ico Setting up WordPress actions
    10:35:41 2943444 /favicon.ico Created output buffer
    10:35:41 2943444 /favicon.ico wp_cache_get_cookies_values: cached: xxxxxx
    10:35:41 2943444 /favicon.ico Redirect detected. Caching disabled.
    10:35:41 2943444 /favicon.ico wp_cache_maybe_dynamic: returned $buffer
    10:35:49 2943454 / wpsc_is_caching_user_disabled: false
    10:35:49 2943454 / wp_cache_get_cookies_values: return:
    10:35:49 2943454 / supercache dir: ABSPATH/wp-content/cache/supercache/website.com/
    10:35:49 2943454 / wp_cache_get_cookies_values: return:
    10:35:49 2943454 / Cache has expired and is older than 1800 seconds old.
    10:35:49 2943454 / wp_cache_get_cookies_values: return:
    10:35:49 2943454 / wp_cache_phase2: No caching to do as user agent rejected.
    10:36:02 2943481 /favicon.ico wpsc_get_auth_cookies: cookies detected: wordpress_logged_in_xxxxxx
    10:36:02 2943481 /favicon.ico wpsc_is_caching_user_disabled: true because logged in
    10:36:02 2943481 /favicon.ico Caching disabled for logged in users on settings page.
    10:36:02 2943481 /favicon.ico wp_cache_get_cookies_values: Login/postpass cookie detected
    10:36:02 2943481 /favicon.ico wp_cache_get_cookies_values: return: xxxxxx
    10:36:02 2943481 /favicon.ico In WP Cache Phase 2
    10:36:02 2943481 /favicon.ico Setting up WordPress actions
    10:36:02 2943481 /favicon.ico Created output buffer
    10:36:02 2943481 /favicon.ico wp_cache_get_cookies_values: cached: xxxxxx
    10:36:03 2943481 /favicon.ico Redirect detected. Caching disabled.
    10:36:03 2943481 /favicon.ico wp_cache_maybe_dynamic: returned $buffer
    10:36:30 2943560 /favicon.ico wpsc_get_auth_cookies: cookies detected: wordpress_logged_in_xxxxxx
    10:36:30 2943560 /favicon.ico wpsc_is_caching_user_disabled: true because logged in
    10:36:30 2943560 /favicon.ico Caching disabled for logged in users on settings page.
    10:36:30 2943560 /favicon.ico wp_cache_get_cookies_values: Login/postpass cookie detected
    10:36:30 2943560 /favicon.ico wp_cache_get_cookies_values: return: xxxxxx
    10:36:30 2943560 /favicon.ico In WP Cache Phase 2
    10:36:30 2943560 /favicon.ico Setting up WordPress actions
    10:36:30 2943560 /favicon.ico Created output buffer
    10:36:30 2943560 /favicon.ico wp_cache_get_cookies_values: cached: xxxxxx
    10:36:31 2943560 /favicon.ico Redirect detected. Caching disabled.
    10:36:31 2943560 /favicon.ico wp_cache_maybe_dynamic: returned $buffer
    10:36:55 2943632 /favicon.ico wpsc_get_auth_cookies: cookies detected: wordpress_logged_in_xxxxxx
    10:36:55 2943632 /favicon.ico wpsc_is_caching_user_disabled: true because logged in
    10:36:55 2943632 /favicon.ico Caching disabled for logged in users on settings page.
    10:36:55 2943632 /favicon.ico wp_cache_get_cookies_values: Login/postpass cookie detected
    10:36:55 2943632 /favicon.ico wp_cache_get_cookies_values: return: xxxxxx
    10:36:55 2943632 /favicon.ico In WP Cache Phase 2
    10:36:55 2943632 /favicon.ico Setting up WordPress actions
    10:36:55 2943632 /favicon.ico Created output buffer
    10:36:55 2943632 /favicon.ico wp_cache_get_cookies_values: cached: xxxxxx
    10:36:55 2943632 /favicon.ico Redirect detected. Caching disabled.
    10:36:55 2943632 /favicon.ico wp_cache_maybe_dynamic: returned $buffer
    10:36:57 2943632 /favicon.ico wpsc_get_auth_cookies: cookies detected: wordpress_logged_in_xxxxxx
    10:36:57 2943632 /favicon.ico wpsc_is_caching_user_disabled: true because logged in
    10:36:57 2943632 /favicon.ico Caching disabled for logged in users on settings page.
    10:36:58 2943632 /favicon.ico wp_cache_get_cookies_values: Login/postpass cookie detected
    10:36:58 2943632 /favicon.ico wp_cache_get_cookies_values: return: xxxxxx
    10:36:58 2943632 /favicon.ico In WP Cache Phase 2
    10:36:58 2943632 /favicon.ico Setting up WordPress actions
    10:36:58 2943632 /favicon.ico Created output buffer
    10:36:58 2943632 /favicon.ico wp_cache_get_cookies_values: cached: xxxxxx
    10:36:58 2943632 /favicon.ico Redirect detected. Caching disabled.
    10:36:58 2943632 /favicon.ico wp_cache_maybe_dynamic: returned $buffer`

    Thread Starter LaMpiR

    (@lampir)

    I have disabled autooptimize, but still no getting Cache Status message:

    <!– Dynamic page generated in 0.450 seconds. –>
    <!– Cached page generated by WP-Super-Cache on 2021-06-09 10:40:11 –>
    <!– super cache –>

    I have preloaded everything and I am getting:

    WP-Super-Cache (20.81KB)

    110 Cached Pages
    0 Expired Pages

    Pages are cached. Website feels a lot faster.

    I have enabled autooptimize once more.I am getting some files cached, as they are visited, but preload doesn’t work from start, after few tries, it is loading them. This is the error I found for preload in the log:

    10:56:05 2948127 /wp-cron.php?doing_wp_cron=xxxx wp_cron_preload_cache: doing taxonomy preload.
    10:56:05 2948127 /wp-cron.php?doing_wp_cron=xxxx wp_cron_preload_cache: delete ABSPATH/wp-content/cache/supercache/website.com//tag/lav-tolstoj/
    10:56:05 2948127 /wp-cron.php?doing_wp_cron=xxxx wp_cron_preload_cache: fetched https://website.com/tag/lav-tolstoj/
    10:56:06 2948127 /wp-cron.php?doing_wp_cron=xxxx wp_cron_preload_cache: cancelling preload. stop_preload.txt found.

    • This reply was modified 3 years, 8 months ago by LaMpiR.

    Well, you’re not getting cache files for your own visits because “Caching disabled for logged in users on settings page” from the log.

    I’m not sure why the preload stops. The log says “stop_preload.txt found” which is what happens when preloading is stopped by the user.

    Thread Starter LaMpiR

    (@lampir)

    I was testing it in Incognito mode in Chrome as well as Private Window in Firefox.

    Will see how it goes now ?? Thank you.

    Preload stops because of autooptimize. Another user had the same problem here: https://www.ads-software.com/support/topic/preload-caching-all-sorts-of-urls/

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘0 cached files?’ is closed to new replies.