• Resolved Andreas 2013

    (@andreas-2013)


    Hello,

    I like this plugin, but unfortunately the preload doesn’t work on my website. In the settings I enabled “Automatically prime the page cache” and “Preload the post cache upon publish events”. I then checked the FTP-folder on /wp-content/cache/page_enhanced/mydomain, but there are no preloaded files visible. I noticed only those pages, I manually visited.

    I tried to use different sitemaps, a manually generated file and a sitemap generated by plugin, without results.

    I used the preload option of the plugin “WP Optimize” before, and it worked. So, what could be the problem?

    Thanks in advance for your help!
    Andreas

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @andreas-2013

    Thank you for reaching out and I am happy to assist you with this.
    I’ve tested this and the Cache Preload works as expected.

    What the feature does is this:
    – Check the last offset
    – Check how many URLs are allowed to be processed per run
    – Fetch all URLs from sitemap (even nested sitemaps work)
    – Loop through a set of URLs to visit them
    If the end of the list is reached, it will start from the beginning of the next run.
    This is triggered by the first visit and depends on the wp-cron so you should make sure that wp_cron is not disabled and the proper full url of the site map is added to the Sitemap URL: field

    You can also use wp-cli and use logs. So, instead of calling wp-cron via crontab – you can call it directly via
    wp w3-total-cache pgcache_prime

    and track the output which pages / sitemap positions are primed by script

    I hope this helps!

    Thanks!

    Thread Starter Andreas 2013

    (@andreas-2013)

    Hi Marko,

    thanks for your quick reply!

    I didn’t disable wp-cron, and the name and path of the sitemap is correct. So do you have an idea, what else could be the cause of the problem?

    Unfortunately I’m not familar at all with wp-cli.

    Thread Starter Andreas 2013

    (@andreas-2013)

    I’ve reinstalled the plugin and noticed, that the preload seems to work, if a static sitemap-file exists. But when I use a virtual sitemap (with about 13.000 pages) from the plugin “XML Sitemap Generator” (from Auctollo), W3 Total Cache doesn’t start preloading. Is this a known issue?

    • This reply was modified 1 year, 7 months ago by Andreas 2013.
    • This reply was modified 1 year, 7 months ago by Andreas 2013.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @andreas-2013

    Thank you for your feedback.

    Can you please share this sitemap URL?

    Thanks!

    Thread Starter Andreas 2013

    (@andreas-2013)

    Hi Marko,

    I solved the problem by disabling debug mode in wp-config.php. Debug mode added some php code at the end of the XML sitemap. It seemed to prevent the sitemap from being read.

    Thank you for your help!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @andreas-2013

    You are most welcome and I am glad the problem is resolved!

    We would really appreciate it if you could take a minute and post a review here. This will help us to continue offering a top-notch product to users.
    Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Preload not working’ is closed to new replies.