• Resolved saens

    (@saens)


    Hi,
    I have a pretty decent hosting and looking at the stats there’s a lot of room for faster pre-loading.
    As far as I can read it hooks into cron, which I trigger every minute (site.com/wp-cron.php). Which means every 5 minutes 15 pages are pre-cached.

    Thinking to create a server-cron which runs every 2 minutes (yoursite.com/?action=wpfastestcache&type=preload).

    Questions:
    1. Will it stop pre-loading when everything is cached (I have start again after finished turned OFF). Meaning (your-site.com/?action=wpfastestcache&type=preload) does not do anything until cache is cleared, even though it is called by server.

    2. Will caching from “regular” cron calls be halted? (site.com/wp-cron.php, which runs every minute). Or will (during time of building cache) these two run parallel?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Emre Vona

    (@emrevona)

    1. the cronjon will continue working but the preload does not create cache
    2. I did not understand the question

    by the way, if you want to speed up the preload feature, please take a look at the following tutorial.
    https://www.wpfastestcache.com/features/manually-preload-with-cron-jobs/

    Thread Starter saens

    (@saens)

    I’ve read the documentation and it led me to these questions.

    1) alright

    2) preload caches works from wp-cron.php, right? But if I also have a job calling (your-site.com/?action=wpfastestcache&type=preload) every two minutes the preload is called twice every 2nd minute. (Once from wp-cron.php and once from the manual preload job)

    So preload is activated twice when both jobs are called.

    • This reply was modified 5 years, 9 months ago by saens.
    Plugin Author Emre Vona

    (@emrevona)

    2. yes

    Thread Starter saens

    (@saens)

    Thank you.

    I can assume parallel running jobs (from both wp-cron.php and /?action=wpfastestcache&type=preload) won’t interfere with eachother?

    Plugin Author Emre Vona

    (@emrevona)

    I hope not 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Faster preloading’ is closed to new replies.