Hello @chun0914
Thank you for reaching out and I am happy to help!
You can only use a single sitemap for a Cache Preload in W3 Total Cache. Most of the SEO plugins like Yoast create the sitemap for you by default and you can use this sitemap and add it to the Sitemap URL: filed.
You can preload the pages for the entire multisite if the sitemap contains all URLs, however, you can also disable the “Use single configuration for all sites” option in Performance>General Settings>Miscellaneous, and use the feature for the individual websites.
The Pages per interval setting tells how many pages will be preloaded in the set interval (default is 900s). So if you set 10 pages per interval, 10 pages will be preloaded every 900s
Thanks!
Thank you. I am using the sitemap URL https://www-uat.hkmu.edu.hk/page-sitemap.xml and I’ve checked the option “Automatically prime the page cache” with an update interval of “10 seconds” and set “100” for “Pages per interval.” However, I’ve noticed that the cache folder remains empty. Could you please assist me in identifying what I might have configured incorrectly?
-
This reply was modified 2 years, 7 months ago by
chun0914.
Hello @chun0914
Sorry for the late reply.
The update interval of “10 seconds” and set “100” for “Pages per interval.” means that the 100 pages need to be cached every 10 seconds. This is a lot for any server to handle. It means that 10 pages are primed every second.
You should leave this on default and cache 10 pages every 900 seconds. This may take longer however, it also means that all pages will be primed. Because your configuration may actually hurt the performance and the cron may not fire on time.
Thanks!