WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: WP Super Cache] Is there a way to force the generation of a cache? (6 posts)

  1. petercasier
    Member
    Posted 4 years ago #

    I have a site which looks like popURLs or ALLTOP. The only thing it has, is 6-7 pages, which each "present" the latest posts from 20-30 feeds.

    Without caching, the site is slow as it loads all the RSS feeds one by one. So caching it, is a solution from heaven.

    However, for as far as I understand WP Super Cache is only generating a cached page if a (non logged in) user visits a page. If no user visits page xyz for <refresh period>, then the page expires and no cache is created until a user visits page xyz.

    I would like Super Cache (or any other cache) to refresh itself every 15 minutes (so it takes the latest posts for each of the feeds) and generates the HTML version. In other words: force a cache regeneration each time a page expires.

    Does that make sense? can that be done?

    thanks

    Peter

  2. Donncha O Caoimh
    Member
    Posted 4 years ago #

    Yeah, write a script that fetches the pages you want every X minutes. It'll be cached then!

  3. petercasier
    Member
    Posted 4 years ago #

    write a script that fetches the pages you want every X minutes.

    Thanks Donncha, looks like this is what could save the performance of my site, but I would not know where to start.. would you have an example of this?

    thanks,

    Peter

  4. modus
    Member
    Posted 4 years ago #

    There's Askapache Crazy Cache, but I dunno if it still works. Hasn't been updated for a long time.

  5. petercasier
    Member
    Posted 4 years ago #

    @modus

    Thanks. I implemented it on the blog.. It certainly installs without error messages... will see if it helps and report back.

    Thanks for the tip!

    P.

  6. petercasier
    Member
    Posted 4 years ago #

    Looks like the Askapache Crazy Cache works!

Topic Closed

This topic has been closed to new replies.

About this Topic