WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP Super Cache] preload not running on schedule (6 posts)

  1. Kevin
    Member
    Posted 2 years ago #

    I'm working on a couple of strange issues with the preload cache feature in WP Super Cache. I've tried the development version, but the results seem to be the same either way.
    First, The timer does not seem to be working. If I set it to be a 30m interval (for this troubleshooting) It will usually run the first, and sometimes a second time, but not beyond that. When I look in the cron tasks, I can see the scheduled event for the preload, but it is listed as a 'one time' job. Then it does not create another one time job subsequently.
    The other issue I seem to be having is that the preloaded cache files seem to disappear in between. I have disabled garbage collection but the files drop out of the cache anyway. In the message about GC on the options page it clearly states that

    "In ’Preload Mode’ regular garbage collection will only clean out old legacy files for known users, not the preloaded supercache files. "

    I am happy to provide any other information that may be helpful.

  2. Donncha O Caoimh
    Member
    Posted 2 years ago #

    First you should enable debugging at level 5, and limit it by IP, probably to the IP of your server so it only logs actions by your server. That should tell you when preload happens. If nothing really shows there then log for all requests as that will show when cache files are deleted.

  3. Kevin
    Member
    Posted 2 years ago #

    OK, I have a debug for about 1.5 hours worth. (Not a ton of traffic luckily) What should I do with it? I'm not exactly sure what I'm looking at

  4. Donncha O Caoimh
    Member
    Posted 2 years ago #

    Look through it, you should see where it records the start of the preload and where pages get deleted. It should also say that it's scheduling the next job.

  5. Kevin
    Member
    Posted 2 years ago #

    I do see where it is creating the files, and I see it deleting some files, but I don't exactly see where its setting up the next job.

    Here is a link to the file...
    http://www.portlandbrewpubs.com/fe9efdb070c736a8bf6e8419889883c3.txt

  6. Kevin
    Member
    Posted 2 years ago #

    OK, I have a new debug file. the preload was running all today since this morning, and then abruptly stopped. I have the complete debug which is contained here...
    http://www.portlandbrewpubs.com/f4d5349910b258a68a02d880f320f4fa.txt

    Any help would be greatly appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic