• ResolvedPlugin Contributor iSaumya

    (@isaumya)


    Hi,
    I think this is the most confusing question about your amazing plugin with almost no details/docs to check further. So, your amazing plugin comes with a button called “Start Preloader” with this small note: Start preloading the pages of your website to speed up their inclusion in the Cloudflare cache. Make sure the cache is working first.

    But this doesn’t answer my question and that is how it works? What exactly happens when I click on that button? Cause in many times it feels like a button which says Preloader has been started but I see no actual result.

    I had a few theory on this but not sure how exactly it works, So, when it click on that Start Preloader button, do you have a crawler inside your plugin that will hit every page of my website to ensure they are cached on Cloudflare? Or do you use some third-party API to hit the website from multiple different places on earth to ensure the caches are HIT on Cloudflare end for those locations when an actual person visit the website? If so, then that would be really cool.

    If you don’t mind explaining, please let me know what exactly happens when we click on that Start Preloader button and the popup message says Preloader has been started. I think this would also make a great inclusion in your FAQ list of questions.

    Looking forward to your reply. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @isaumya ,
    preloader is working well on version currently in beta testing (I hope to release it this weekend).

    It use a crawler inside the plugin, like wp-rocket. I cannot use third-party API on free plugin ?? I hope you understand why

    You will be able to choose to preload last published pages and/or pages on WordPress menus.

    I will add a feature for Yoast/Rank math sitemaps

    Bye ??

    Plugin Contributor iSaumya

    (@isaumya)

    @salvatorefresta Thanks a lot for the reply. Looking forward to the new update.

    “I cannot use third-party API on a free plugin ?? I hope you understand why”
    – Of course, I do. But please Notre that people are willing to buy a pro version of your plugin if you wanna take advantage of third-party apps there.

    “You will be able to choose to preload last published pages and/or pages on WordPress menus.”
    – So if I select last published page, it is just gonna preload the last page/post/CPT I worked on? Sorry, I’m confused.
    Also if I select the WP Menu option, it is gonna preload the links on the primary nav menu or all menus we have under the menu section? E.g. a site can have a top menu (primary) then footer menu etc.

    “I will add a feature for Yoast/Rank math sitemaps”
    – You mean so that they get excused from cache or something else?

    Moreover today I was working on a site but despite the URLs having ?secfc=1 thing attached to it, it was loading the page from cache and not ignoring the cache. Don’t know why. I checked on the network tab as well. If you want I can send you a mail about it will screenshots.

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @isaumya ,

    Of course, I do. But please Notre that people are willing to buy a pro version of your plugin if you wanna take advantage of third-party apps there.

    By now I’m releasing all as free ’cause no time by now to give u the support that a pro version requires

    So if I select last published page, it is just gonna preload the last page/post/CPT I worked on?

    Yes, last published/edited pages

    Also if I select the WP Menu option, it is gonna preload the links on the primary nav menu or all menus we have under the menu section? E.g. a site can have a top menu (primary) then footer menu etc.

    You can choose to from several WP menus (the ones you have on your wordpress installation). It will preload the only internal links under chosen menus

    You mean so that they get excused from cache or something else?

    I mean you can decide to start preloading pages based on the sitemap

    Moreover today I was working on a site but despite the URLs having ?secfc=1 thing attached to it, it was loading the page from cache and not ignoring the cache. Don’t know why. I checked on the network tab as well. If you want I can send you a mail about it will screenshots.

    This happens when something overwrite the cache-control value. Are you running this on Litespeed Server with the Overwrite the cache-control header for WordPress’s pages using web server rules option enabled? Send me the link

    P.S. secfc is not the default cache buster name. Have you customize it?

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @salvatorefresta,

    By now I’m releasing all as free ’cause no time by now to give u the support that a pro version requires

    Totally get it. But just letting you know that there is a user base for that in case you want to make a pro version. ??

    Yes, last published/edited pages

    So, let’s say I edit PAGE A and then I edit PAGE B and then I preload, so the system will only preload PAGE B?

    You can choose to from several WP menus (the ones you have on your wordpress installation). It will preload the only internal links under chosen menus

    Good. ??

    I mean you can decide to start preloading pages based on the sitemap

    Yes, I think it would be great if the crawler can look at the sitemap and crawl all the links in the sitemap. I think that would be the best approach as sitemap will hold all the internal URLs.

    The crawler can look at the sitemap generated by Yoast or rank math and then simply crawl those links. In fact with WP v5.5 WordPress will have a notice sitemap. So, even if anyone is not using Yoast or Rank math, there will still be a sitemap to crawl. So, I think that’s the best option.

    This happens when something overwrite the cache-control value. Are you running this on Litespeed Server with the Overwrite the cache-control header for WordPress’s pages using web server rules option enabled? Send me the link

    Yes the site is hosted on a Litespeed based cPanel server and yes the Overwrite cache-control header is enabled. Scheck: https://i.imgur.com/wJeJ0U7.png
    Also here is the htaccess just in case you want to see: https://i.imgur.com/4NUcDHe.jpg
    Do you want me to send you the website link? If so then I will email you that as it is against the policy to share links on the support I guess.

    P.S. secfc is not the default cache buster name. Have you customize it?

    Sorry I mistakenly typed secfc instead of typing swcfpc as I can’t somehow remember it. lol! ??

    Looking forward to your reply.

    • This reply was modified 4 years, 4 months ago by iSaumya.
    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    The problem is that Litespeed does not take care of the expr=resp expression of mod_headers rules. Please disable the option Overwrite the cache-control header for WordPress’s pages using web server rules, purge the cache and try again.

    Plugin Contributor iSaumya

    (@isaumya)

    @salvatorefresta Thanks for your response. I will keep this in mind for all the Litespeed based site I add your plugin. Thanks a lot for your help.
    Also, do consider the sitemap based crawling thing I mentioned above. I think it will be really helpful. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How does the Preloader work?’ is closed to new replies.