• Resolved Angellive

    (@silasveta2012)


    Hello, I set up preloading in Cron, through a key. It took a few hours and all my 3 sites, running preload, which in fact should not be, since all the time is set different.foto . Also, I still do not understand how it happens, for example, if we take WP optimize, then preload creates the entire site, and shuts down until the next scheduled launch. On my site masterpro1.ru, there is nothing to load, only a few pages, but it was more than 11 hours. I attach screenshots of what is happening. Now I disabled the preload, because I do not understand how it should be.
    foto
    foto

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    As I can see you are running the CRON jobs using wget but do note that the CROn jobs needs to be run with PHP and not with wget. So that the PHP scripts inside it gets properly executed. Try that and let me know.

    Thread Starter Angellive

    (@silasveta2012)

    Hello, thank you, could you write how to do this, I don’t understand well, and have never come across such a thing. Thank you

    Plugin Contributor iSaumya

    (@isaumya)

    Inside the plugin settings under the cache tab you will see an option related to only caching HTML pages and another option related to cache queue. I want you to play around with them while the other things like fallback cache, preloader etc is disabled and see how it goes.

    Thread Starter Angellive

    (@silasveta2012)

    Thank you, here are my settings.everything is fine now, the site opens pages quickly, if preload is not needed, or there is no great need, let it be so. Unfortunately I don’t understand how to configure CRON(. Thanks

    Plugin Contributor iSaumya

    (@isaumya)

    Take a look at :
    https://manage.accuwebhosting.com/knowledgebase/3043/How-to-set-the-cron-job-to-run-a-PHP-script-in-cPanel.html
    https://www.cluemediator.com/set-the-cron-job-to-run-a-php-script-in-cpanel

    Basically the way you are providing the path for wget you need to provide the path to the PHP bin file and the -q and then the CRON link given by the plugin.

    Thread Starter Angellive

    (@silasveta2012)

    I got it, thanks. Thank you for a great plugin, and in general your other plugins benefit people. Thank you and your team. All the best!

    Plugin Contributor iSaumya

    (@isaumya)

    Thank you so much for your love. <3 πŸ™‚

    Thread Starter Angellive

    (@silasveta2012)

    /usr/local/bin/php ~/https://handmadebuy.ru?swcfpc=1&swcfpc-preloader=1&swcfpc-sec-key=gry65VHS9thbPhgBndjhuC It turned out like this, if it’s right, and I think it is, then someone can use this information. Thank you

    • This reply was modified 4 years, 5 months ago by Angellive.
    • This reply was modified 4 years, 5 months ago by Angellive.
    Plugin Contributor iSaumya

    (@isaumya)

    I don’t thing you need to add the ~/ thing before the URL and instead you can just do something like this:
    /usr/local/bin/php -q https://handmadebuy.ru?swcfpc=1&swcfpc-preloader=1&swcfpc-sec-key=gry65VHS9thbPhgBndjhuC

    Thread Starter Angellive

    (@silasveta2012)

    In the end, here you go, /usr/local/bin/php -q -O https://handmadebuy.ru?swcfpc=1&swcfpc-preloader=1&swcfpc-sec-key=gry65VHS9thbPhgBndjhuC, thank you.

    Thread Starter Angellive

    (@silasveta2012)

    I am very sorry, but after reading the instructions, I came to the conclusion that at the end must be file.PHP From what I concluded that runs with the preload key, in cloudflare, not on the hosting, or am I wrong? In general, is there some kind of instructions for the plugin, where you can read in detail the mechanism of action?) Thank you again forgive my curiosity, but on the hosting I have not seen any activity on preloading)

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    I did not understand your question. Isn’t /usr/local/bin/php -q -O https://handmadebuy.ru?swcfpc=1&swcfpc-preloader=1&swcfpc-sec-key=gry65VHS9thbPhgBndjhuC this working?

    Thread Starter Angellive

    (@silasveta2012)

    video I assume this task started, right? But I do not see an increase of files on the hard drive

    • This reply was modified 4 years, 5 months ago by Angellive.
    Plugin Contributor iSaumya

    (@isaumya)

    yes it seems it is running properly. Try force purging your whole cache and then preload to see the file counts and things.

    Thread Starter Angellive

    (@silasveta2012)

    Thank you, you helped me a lot. In gratitude, I made a Russian translation of your plugin. Hope this helps in the development of your products. Thank you Translate

Viewing 15 replies - 1 through 15 (of 16 total)

The topic ‘Maximum load on the hosting by preloading’ is closed to new replies.