Hi
I have a site with some archive pages that query multiple taxonomies to generate the displayed posts.
I would like to be able to specify that some of these pages are preloaded into the cache. They all have permalinks.
Thank you for any advice.
Hi
I have a site with some archive pages that query multiple taxonomies to generate the displayed posts.
I would like to be able to specify that some of these pages are preloaded into the cache. They all have permalinks.
Thank you for any advice.
You could write a WordPress plugin that requests those pages when a certain action is taken (say a post is made) or use a cronjob to fetch them.
Preloading simply calls the page like a logged out browser would and the plugin caches it.
so for example, a cronjob that executes a script that loads the page via cURL?
Yeah. Exactly!
@w3r3w0lf
I've been thinking of the same think. What did you ever decide to do for this?
I know what my 10 most popular pages are so I thought of manually coding them just so they're never slow, I'm not concerned with speed.
And sometimes I see that the page is in the WP-Cache AND the WP-Super-Cache: It seems like some browsers get one and others get another (I can open in several different browsers and get several different creation times).
(And does it store a different copy for serving up compressed copies? If so, how to create that too).
Gary
Gary - if someone leaves a comment they gets a wp-cache file, or if you're logged in it's a wp-cache file (ie. a "known user").
It stores an index.html.gz as well as index.html file.
You must log in to post.