WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Preload not working (8 posts)

  1. pacheco377
    Member
    Posted 2 years ago #

    Hi there,

    I've loaded WP Supercache but the preload does not seem to work. I don't see any progress report and the cache folder does not seem to be adding the pre-load files, only the files where visitors are accessing. Every so often, all of the files in the cache folder are deleted and it starts again.

    http://wordpress.org/extend/plugins/wp-super-cache/

  2. pacheco377
    Member
    Posted 2 years ago #

    Here is my debug log:

    13:55:04 /?cf_action=cfmobi_admin_css Cookie detected: wordpress_logged_in_79aba26d655eb7e5d214c422d0292008
    13:55:04 /?cf_action=cfmobi_admin_css supercache dir: /home/cw7880/public_html/wp-content/cache/supercache/www.socon.ca/
    13:55:04 /?cf_action=cfmobi_admin_css No wp-cache file exists. Must generate a new one.
    13:55:04 /?cf_action=cfmobi_admin_css Cookie detected: wordpress_logged_in_79aba26d655eb7e5d214c422d0292008
    13:55:04 /?cf_action=cfmobi_admin_css In WP Cache Phase 2
    13:55:04 /?cf_action=cfmobi_admin_css Setting up WordPress actions
    13:55:04 /?cf_action=cfmobi_admin_css Supercache caching disabled. Only using wp-cache. Non empty GET request.
    13:55:04 /?cf_action=cfmobi_admin_css Created output buffer
    13:55:05 /?cf_action=cfmobi_admin_js&ver=3.3.1 Cookie detected: wordpress_logged_in_79aba26d655eb7e5d214c422d0292008
    13:55:05 /?cf_action=cfmobi_admin_js&ver=3.3.1 supercache dir: /home/cw7880/public_html/wp-content/cache/supercache/www.socon.ca/
    13:55:05 /?cf_action=cfmobi_admin_js&ver=3.3.1 No wp-cache file exists. Must generate a new one.
    13:55:05 /?cf_action=cfmobi_admin_css Output buffer callback
    13:55:05 /?cf_action=cfmobi_admin_css No closing html tag. Not caching.
    13:55:05 /?cf_action=cfmobi_admin_css wp_cache_shutdown_callback: collecting meta data.
    13:55:05 /?cf_action=cfmobi_admin_js&ver=3.3.1 Cookie detected: wordpress_logged_in_79aba26d655eb7e5d214c422d0292008
    13:55:05 /?cf_action=cfmobi_admin_js&ver=3.3.1 In WP Cache Phase 2
    13:55:05 /?cf_action=cfmobi_admin_js&ver=3.3.1 Setting up WordPress actions
    13:55:05 /?cf_action=cfmobi_admin_js&ver=3.3.1 Supercache caching disabled. Only using wp-cache. Non empty GET request.
    13:55:05 /?cf_action=cfmobi_admin_js&ver=3.3.1 Created output buffer
    13:55:06 /?cf_action=cfmobi_admin_js&ver=3.3.1 Output buffer callback
    13:55:06 /?cf_action=cfmobi_admin_js&ver=3.3.1 No closing html tag. Not caching.
    13:55:06 /?cf_action=cfmobi_admin_js&ver=3.3.1 wp_cache_shutdown_callback: collecting meta data.

  3. admintiger
    Member
    Posted 2 years ago #

    There is a strange problem of some kind associated with the preload function. I have successfully used WP Super Cache at a rather large page-based website for several months. Preloading always has and still does work reliably at that site. However, preloading isn't reliable at a couple of new page-based sites. Sometimes after clearing the cache and enabling preloading pages at those sites are not cached until website visitors load them. Other times some pages are quickly cached, but others aren't until they are loaded. Occasionally some pages are never cached, regardless of waiting times or visitor page loading, but clearing the cache and re-enabling preloading often will cause those pages to be cached normally.

    I have both Windows and Linux servers. The website where preloading works reliably is on a Windows server. I have moved the two sites where preloading does not work reliably back and forth between Windows and Linux servers and have had the same problems either way.

    -Bob

  4. admintiger
    Member
    Posted 2 years ago #

    I tested preloading much more thoroughly this morning. There clearly are serious problems with several aspects of way it works that are compounded by confusing and misleading text displayed on settings pages. For example, based on the way the software actually seems to work "Scheduled preloading of cache in 10 seconds" should instead say something like "Cache preloading will begin when the first website visitor attempts to load a non-cached page 10-seconds or more after you clicked the 'Preload Cache Now' button."

    Requests to load a page that is already cached do not start preloading under any combination of settings or conditions I have been able to find, but attempts to load a non-cached page will start the process after 10-seconds have elapsed, even if preloading is not selected. However, immediately after all website pages have been cached, all but the home page and one other random page are always deleted from cache regardless of optional settings. The second page that remains cached with the home page can be any website page and changes each time the process is repeated.

    Sometimes preloading gets locked in a loop that causes PHP to timeout, even if PHP's max_execution_time is set to several minutes. After a PHP timeout there is a long delay before Apache can be stopped and restarted to clear the resulting error condition.

    Preloading worked in prior versions, but there are serious problems with it in the current release. I have temporarily disabled WP Super Cache at all the sites where I have it installed because of that.

  5. admintiger
    Member
    Posted 2 years ago #

    This afternoon I downloaded and installed the current trunk version of WP Super Cache which corrected some of the issues described above. Others where determined to occur only with Apache name-based virtual hosting, which is widely used and which I use on my own Windows and Linux servers. I have found a way to overcome at least some and possibly all problems related to that type of hosting. I haven't tested enough yet to be sure how well everything is now working, but the situation seems brighter than it did earlier.

    It seems important to release the trunk version as soon as possible, because fixes in it are critical to the plugin being suitability for its intended purpose.

  6. nelliza111
    Member
    Posted 2 years ago #

    I want to confirm there is an issue. Preloading does not work at all. Error in debug mode says

    18:28:00 /wp-admin/options-general.php?page=wpsupercache&tab=preload supercache dir: /usr/sites/maidan/www/wp-content/cache/supercache/maidan.org.ua/wp-admin/options-general.php/

    Preloading does not work at all, all it does - it clears cache.

    @admintiger What is the trick with virtual hosting? Maybe you'd share? I run my own dedicated server and have access to whatever.

    Thanks
    NZ

  7. ryansales
    Member
    Posted 2 years ago #

    I am experiencing the same problem. Enabling it simply dumps the cache.

    RY

  8. Donncha O Caoimh
    Member
    Plugin Author

    Posted 1 year ago #

    ryansales - try the dev version. That was fixed!

    http://ocaoimh.ie/y/2o

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic