I am interested in a better understanding of how preload works as well. Is there a way to preload cache for ‘is_single() and/or is_page()’ and have them not be cleared unless an edit is made to that specific post/page? While allowing the normal cache process to work with hourly expire limits for the is_home, is_tag, is_category, etc. type pages?
The explanations I have around preload found have not been very clear to me. I feel my site would greatly benefit from having preloaded cache for single posts and pages, because the odds of them changing is extremely limited and does not need to be cleared every hour (or whatever limit is set).
No, the preload will create cached files for the taxonomies and posts on your site. If you have preload mode enabled then no supercache files will be cleared by the garbage collection. They will be cleared when someone leaves a comment or if a post is updated.
@donncha, not sure if your response is to both of us, but here is my interpretation of your response. Please let me know if I got the right understanding.
If I run preload, it will cache taxonomies and posts and those cached files will not be deleted when the super_cache expiry time hits. They will only be cleared individually upon submission of a comment or post update.
Questions:
What falls under the definition of taxonomies? My definition is that taxonomy is a classification of items, therefore I am reading it to say the taxonomy would be used to identify posts/pages to cache, but it would not cache dynamic pages, such as the home page or category pages.
Upon a comment or post update, will only the page being commented or updated be cleared? All other posts/pages would remained in preload cache.
Finally, would the dynamic pages (home page, etc.) be cached via the normal super cache process?
Thanks again for the help. I appreciate your attention to the support forum.
Taxonomies are post tags and categories by default. If you have preload mode enabled those archive pages are only cleared when the next preload happens. When a post is made or comment made that post is cleared and the homepage is cleared.
Any page cleared will be cached again the next time a visitor comes.
This doesn’t answer my question at all.
Let me try this again:
Is it safe to preload caches concurrently with normal caching? I don’t have preload mode enabled, I only set the the preloading time.
It’s perfectly ok to use preload whenever you like!
Ok, just wanted to make sure!