• Peter Westerlund

    (@peter-westerlund)


    I have disabled wp-cron and fixed a real cron schedule to run every minute. The start-/front-/homepage on my site should be refreshed every minute. That is the big challenge for me. And I absolutely don’t want any visitor to be the one who needs to rebuild the cache. I want the cron to handle everything about caching. The site should be rapidly fast for very single human visitor.

    Is it possible to preload the data/content with only the cron?

    I can use either page cache or object caching. Just tell me how to do! Have searched (AND EXPERIMENTED!) the whole night (yes it’s night in Sweden), and now it’s morning. I really need to find a solution for this! Please help me!

Viewing 2 replies - 1 through 2 (of 2 total)
  • hsteigstra

    (@hsteigstra)

    Hi Peter,
    I have done this (although manually in a background task) just by removing the map where the page to be refreshed resides and directly requesting that page. Only if a user requests that page in the same second, he does not get the cached version.
    If you want to solve that too, you will have to add a redirection of the page, rebuild that one and after completion remove the original and rename the redirected (did not test that ….)

    Good luck, Herman

    Thread Starter Peter Westerlund

    (@peter-westerlund)

    I have to say I’m a bit chocked. A, advanced (what it looks like) plugin like this. With all kinds of settings and cache options. Don’t offer the most basic in the princip of PRE-load. That the new cache actually loads before the old one is gone so that nobody have to visit a non-cached page.

    On my site it’s all about the startpage. That is the one that have to be fresh at least every 5:th minute. And several people are visiting it every second. So I really need to find a more professional solution. Otherwise my “moving to WordPress” trip is over here.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Preload with cron?’ is closed to new replies.