• Hi,

    I installed the plugin, all default settings, cache works but not on homepage

    no this in main page:
    <!-- Dynamic page generated in 3.767 seconds. -->
    <!-- Cached page generated by WP-Super-Cache on 2021-10-27 14:33:13 -->
    
    <!-- super cache -->

    Did the same thing on another site, with the same theme and the same set of plugins – everything works.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Did you enable the debug log in the plugin? That will tell you why the homepage isn’t being cached on that site.

    Thread Starter gunf

    (@gunf)

    Hi @donncha,
    yes, enable the debug log in the plugin, but I don’t see any errors, and I don’t understand how you can tell what’s wrong.
    What can I do?

    Thread Starter gunf

    (@gunf)

    Here’s a piece of the log:

    07:47:04 3675 /wp-admin/admin-ajax.php Not caching wp-admin requests.
    07:47:09 26206 / wpsc_get_auth_cookies: no auth cookies detected
    07:47:09 26206 / wpsc_is_caching_user_disabled: false
    07:47:09 26206 / wp_cache_get_cookies_values: return:
    07:47:09 26206 / supercache dir: ABSPATH/wp-content/cache/supercache/y-expo.ru/
    07:47:09 26206 / No Super Cache file found for current URL: ABSPATH/wp-content/cache/supercache/y-expo.ru/index-https.html
    07:47:09 26206 / wp_cache_get_cookies_values: return:
    07:47:09 26206 / In WP Cache Phase 2
    07:47:09 26206 / Setting up WordPress actions
    07:47:09 26206 / Created output buffer
    07:47:09 26206 / wp_cache_get_cookies_values: return:
    07:47:09 26206 / wpcache_do_rebuild: doing rebuild for ABSPATH/wp-content/cache/supercache/y-expo.ru/
    07:47:10 26206 / Not caching POST request.
    07:47:10 26206 / wp_cache_maybe_dynamic: returned $buffer

    Something on your system, probably your theme or a plugin is populating the $_POST array and the plugin thinks that the homepage loading is a POST request.

    / Not caching POST request.

    If you don’t know where, disable each plugin or custom code one by one testing the homepage until it works and then fix/modify the offending code.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Does not cache the home page’ is closed to new replies.