• Hello!

    I want to:
    – preload all pages (wp posts nad wp pages)
    – disable garbage collection
    – update cached page only if it has been updated

    I’m trying to achieve these goals, but no success.

    My settings right now:
    – Preload mode is ON, Refresh preloaded cache files every 0 minutes
    screenshot http://joxi.ru/xAeO3ZDhYgkX4m

    wp cron is disabled in wp-config.php
    define('DISABLE_WP_CRON', true);

    but enabled in real cron
    crontab contains the following string:
    */5 * * * * curl https://[my_domain]/wp-cron.php >/dev/null 2>&1

    What I got with that settings
    After 6-7 hours I pressed the button “Preload Cache Now” in the Preload tab.
    there was 754 cached pages in the WP-Super-Cache section of the Contents tab and the number didn’t grow any more.
    I pressed the button “Preload Cache Now” one more time, and number of cached pages flushed to zero and started to grow again.

    What I’m doing wrong?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Alexey

    (@asel)

    I have 9660 posts and 365 pages, no categories or taxonomies.

    Thread Starter Alexey

    (@asel)

    I suppose that pages counter is broken in the Content tab.

    Right now I see 10.87KB and 640 Cached Pages in WP Super Cache section

    But size of supercache folder on disk is 58 Mb.

    Thread Starter Alexey

    (@asel)

    if I run in linux terminal
    find wp-content/cache/supercache/[my_domain] -type d | wc -l
    I get 849

    find wp-content/cache/supercache/[my_domain] -type f | wc -l
    return 1508

    It is not equal to the plugin stat (744 cached pages). And far away from my real pages count (about 10 000).

    Conclusion: preload mode doesn’t work.

    • This reply was modified 6 years, 8 months ago by Alexey.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to preload all posts and pages?’ is closed to new replies.