• In several tabs of the plugin it says when Preload Mode is on, cache files won’t expire or be garbage collected. So I preloaded, with a 24-hour refresh period, and it quickly generated about 90 cache files. Super.

    But a few hours later, there were only 8 cache files. My understanding is they should all remain until they are refreshed. What’s going on?

    FYI it’s in Expert mode.

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

    (@jwmc)

    I changed it to Simple mode and restarted the preloading, but it’s still happening. My cache files get deleted and not consistently replaced, though some are. After first preloading I had about 100 cache files, now I have 57 It makes no sense based on my reading.

    Here are my relevant settings:

    Easy
    Caching on
    Advanced
    Cache delivery method – Simple
    Disable for logged-in visitors
    Don’t cache w/ GET params
    Compress
    Cache rebuild
    304 browser caching
    Extra homepage checks
    [ following 2 shouldn’t matter in preload mode, right? ]
    Cache Timeout 86400 sec (24 hr)
    Scheduler: once daily
    Preload
    Refresh preloaded cache files every 1440 min (24 hr)
    All posts
    Preload mode checked

    Thread Starter Jim

    (@jwmc)

    Here is a thread from the log showing a cache file being deleted and apparently rebuilt because it is “too old”. Again, I thought that wasn’t supposed to happen in preload mode. I haven’t found where they are being deleted and not rebuilt. (I read the warning about not posting logs but these paths seem all standard and known)

    Also going through the log, I saw the home page (which is static) was being rebuilt about every ten minutes. Maybe I need to uncheck the extra home page checks?

    15:47:23 7245 /canker/sooty-bark-maple/ wpsc_is_caching_user_disabled: false
    15:47:23 7245 /canker/sooty-bark-maple/ wp_cache_get_cookies_values: return:
    15:47:23 7245 /canker/sooty-bark-maple/ supercache dir: ABSPATH/wp-content/cache/supercache/forestpathology.org/canker/sooty-bark-maple/
    15:47:23 7245 /canker/sooty-bark-maple/ No Super Cache file found for current URL: ABSPATH/wp-content/cache/supercache/forestpathology.org/canker/sooty-bark-maple/index-https.html
    15:47:23 7245 /canker/sooty-bark-maple/ wp_cache_get_cookies_values: return:
    15:47:23 7245 /canker/sooty-bark-maple/ In WP Cache Phase 2
    15:47:23 7245 /canker/sooty-bark-maple/ Setting up WordPress actions
    15:47:23 7245 /canker/sooty-bark-maple/ Created output buffer
    15:47:23 7245 /canker/sooty-bark-maple/ wp_cache_get_cookies_values: return:
    15:47:23 7245 /canker/sooty-bark-maple/ wpcache_do_rebuild: doing rebuild for ABSPATH/wp-content/cache/supercache/forestpathology.org/canker/sooty-bark-maple/
    15:47:23 7245 /canker/sooty-bark-maple/ wpcache_do_rebuild: found rebuild file: ABSPATH/wp-content/cache/supercache/forestpathology.org/canker/sooty-bark-maple/index-https.html.gz.needs-rebuild
    15:47:23 7245 /canker/sooty-bark-maple/ wpcache_do_rebuild: rebuild file deleted because it's too old: ABSPATH/wp-content/cache/supercache/forestpathology.org/canker/sooty-bark-maple/index-https.html.gz.needs-rebuild
    15:47:23 7245 /canker/sooty-bark-maple/ wpcache_do_rebuild: found rebuild file: ABSPATH/wp-content/cache/supercache/forestpathology.org/canker/sooty-bark-maple/index-https.html.needs-rebuild
    15:47:23 7245 /canker/sooty-bark-maple/ wpcache_do_rebuild: rebuild file deleted because it's too old: ABSPATH/wp-content/cache/supercache/forestpathology.org/canker/sooty-bark-maple/index-https.html.needs-rebuild
    15:47:23 7245 /canker/sooty-bark-maple/ wpsc_is_caching_user_disabled: false
    15:47:23 7245 /canker/sooty-bark-maple/ Output buffer callback
    15:47:23 7245 /canker/sooty-bark-maple/ wp_cache_get_cookies_values: return:
    15:47:23 7245 /canker/sooty-bark-maple/ Anonymous user detected. Only creating Supercache file.
    15:47:23 7245 /canker/sooty-bark-maple/ wpsc_is_caching_user_disabled: false
    15:47:23 7245 /canker/sooty-bark-maple/ wp_cache_get_cookies_values: return:
    15:47:23 7245 /canker/sooty-bark-maple/ Gzipping buffer.
    15:47:23 7245 /canker/sooty-bark-maple/ Writing non-gzipped buffer to supercache file.
    15:47:23 7245 /canker/sooty-bark-maple/ Writing gzipped buffer to supercache file.
    15:47:23 7245 /canker/sooty-bark-maple/ Renamed temp supercache file to ABSPATH/wp-content/cache/supercache/forestpathology.org/canker/sooty-bark-maple/index-https.html
    15:47:23 7245 /canker/sooty-bark-maple/ Renamed temp supercache gz file to ABSPATH/wp-content/cache/supercache/forestpathology.org/canker/sooty-bark-maple/index-https.html.gz
    15:47:23 7245 /canker/sooty-bark-maple/ Writing gzip content headers. Sending buffer to browser
    15:47:23 7245 /canker/sooty-bark-maple/ wp_cache_shutdown_callback: collecting meta data.
    15:47:23 7245 /canker/sooty-bark-maple/ Did not write meta file: meta-wp-cache-[XXX].php
    supercacheonly: 1
    wp_cache_not_logged_in: 2
    new_cache:1
    • This reply was modified 4 years, 4 months ago by t-p.
    • This reply was modified 4 years, 4 months ago by Jim.

    I’m not sure what’s happening here, sorry. You could remove the user agents from the “Rejected User Agents” on the advanced settings page so that more pages on your site are cached.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Preload mode enabled but cache files disappear’ is closed to new replies.