WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP Super Cache] Preload specific URLs

[Plugin: WP Super Cache] Preload specific URLs

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Donncha O Caoimh

    @donncha

    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?

    Plugin Author Donncha O Caoimh

    @donncha

    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

    Plugin Author Donncha O Caoimh

    @donncha

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WP Super Cache] Preload specific URLs’ is closed to new replies.