WP Super Cache
Preload specific URLs (6 posts)

  1. w3r3w0lf
    Posted 4 years ago #


    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.


  2. Donncha O Caoimh
    Plugin Author

    Posted 4 years ago #

    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.

  3. w3r3w0lf
    Posted 4 years ago #

    so for example, a cronjob that executes a script that loads the page via cURL?

  4. Donncha O Caoimh
    Plugin Author

    Posted 4 years ago #

    Yeah. Exactly!

  5. Gary LaPointe
    Posted 4 years ago #

    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).


  6. Donncha O Caoimh
    Plugin Author

    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic