• Resolved daivymerlijs

    (@daivymerlijs)


    Litespeed plug-in is great, but lacks some features that would be welcomed

    1. Partial preload (similar to WP Rocket) : when a post / category is updated, purged or deleted, the cache should preload the affected pages. For example, a new post would be automatically preload, while the category it has been published should be refreshed again and preloaded.
    2. “Most wanted URLs” feature similar to Kitt crawler. Litespeed should memorize the most visited pages by the users, and instead of relying exclusively on the sitemap, the litespeed crawler should prioritize crawling the most visited pages. Last but not least, this feature will improve the performance, because only the most visited links will be crawled.

    feature number 1 seems to have been promised for years now, but still no release date.

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support qtwrk

    (@qtwrk)

    these are cool things to have, I will try to hurry our devs up on it

    Thread Starter daivymerlijs

    (@daivymerlijs)

    @qtwrk

    Feature number 1 has been asked for years now, but still no news about this, despite being announced.

    It seems a kinda easy feature to add, because of WordPress’ webhooks. I managed to solve the lacking of feature 1 with an Integromat / Make.com script.



    @daivymerlijs

    About a year ago it was agreed with the Vice President of LiteSpeed that LiteSpeed would integrate the existing standalone version (plugin) of the UMW function into the LiteSpeed Cache Plugin. Despite this agreement, LiteSpeed’s Vice President and Chief of Development revoked this agreement without giving reasons.

    It seems a kinda easy feature to add, because of WordPress’ webhooks. I managed to solve the lacking of feature 1 with an Integromat / Make.com script.

    This assumes that the built-in crawler is not deactivated. The built-in crawler is deactivated on your O2Switch hosting, so you would not be able to use this feature at all.

    • This reply was modified 10 months, 3 weeks ago by mukoka.

    Fixing UCSS generation would be REALLY helpful. Half of my pages hitting a size or time limit. Very annoying!

    Thread Starter daivymerlijs

    (@daivymerlijs)

    @mukoka

    No need for Litespeed crawler to be enabled for that. You can use Woocommerce webhooks (my website is e-commerc only).

    Sorry, you are wrong. To warmup the cache for whatever posts or page and for whatever reasons you need the crawler for it. Webhooks doesn’t have anything to do with it. URLs must be requested to warmup the cache again.

    • This reply was modified 10 months, 3 weeks ago by mukoka.
    Thread Starter daivymerlijs

    (@daivymerlijs)

    @mukoka

    Warming up is only visiting an URL (GET request with specific headers / cookies, as Litespeed is concerned). If you use a woocommerce’s webhook to tell you which product/product category has been updated/deleted/created, you can use it to crawl the specified urls. This is what I am doing with my Make.com script.

    Litespeed crawler only crawl all the urls in the sitemap.

    • This reply was modified 10 months, 3 weeks ago by daivymerlijs.

    Again, a page cache needs a HTTP request to make a URL cached and only the crawler makes a HTTP request and nothing else, but if the crawler is disabled you can’t run a HTTP request.

    Thread Starter daivymerlijs

    (@daivymerlijs)

    @mukoka
    Do you know that Make.com/Integromat can make HTTP requests too ?

    So the only thing to do, when you want to warm up a create/deleted/updated product, is to make a GET request on those specific URLs. Webhook is used as a “listener” which get triggered when a product is created/updated/deleted : then, the data sent by the webhook is used to warm up the specific urls.

    Litespeed crawler is not optimal for this, because it only crawls the sitemap. Basically, it will crawl all the urls while only a few urls are needed to be crawled (in tthe case when a product is update/created/deleted).

    For crawling my entire website, I use the “cache warmer” plugin which will warm all my public posts.


    • This reply was modified 10 months, 3 weeks ago by daivymerlijs.
    • This reply was modified 10 months, 3 weeks ago by daivymerlijs.

    Apparently you have more knowledge than any other PHP devloper and you also seem to know more about how the Internet and a page cache works. You should develop your own cache crawler based on your mysterious knowledge.

    Just because the built-in crawler uses the sitemap to warm up the cache, the principle of cache warmup is always the same principle that exists in an HTTP request. If you have better knowledge about it that no one else seems to have, then you should file a patent for it.

    You can’t turn off gravity, not even you.

    Thread Starter daivymerlijs

    (@daivymerlijs)

    @mukoka

    What’s funny is that you can’t even counter my arguments without resorting to a fallacy of appeal to authority and a fallacy of appeal to the majority. This is the zero level of argumentation.

    ChatGPT generated for me a Node.js crawler that is capable of crawling the sitemap of my sites, in the same way as the Litespeed crawler does.

    However, I prefer to use the “cache warmer” plugin, which warms all my public posts rather than the sitemap.

    The Make.com/Integromat script, on the other hand, only warms products added/updated/deleted and the corresponding categories. So it’s complementary, and yes, it works.

    But maybe you prefer to stay frozen, which is a shame. Why do you think I’m wrong?

    Why do you think I’m wrong?

    Because you are not a developer and you don’t know how the Internet and a page cache like LiteSpeed LScache works.

    Thread Starter daivymerlijs

    (@daivymerlijs)

    Because you are not a developer and you don’t know how the Internet and a page cache like LiteSpeed LScache works.

    I still don’t see any argument here.

    I still don’t see any argument here.

    The answer from a user who tries to compensate for insufficient knowledge through ignorance. Anyway, stop bothering this forum with unqualified comments that are of no use to anyone. This forum is for support and not pointless discussion by users who don’t know what they’re doing.

    Thread Starter daivymerlijs

    (@daivymerlijs)

    The answer from a user who tries to compensate for insufficient knowledge through ignorance. Anyway, stop bothering this forum with unqualified comments that are of no use to anyone. This forum is for support and not pointless discussion by users who don’t know what they’re doing.

    Our “conversation” can be summarized as follows:

    You : “What you are saying is impossible because you need to make http request and only the litespeed crawler does that.”

    Me : “Cache warmer” plugin is making http request. The same for my Integromat script.”

    You : “You are not a developer so you are wrong.”

    Me : “Where is your argument here ?”

    You : “You bother this forum with unqualified comments that are of no use to anyone. This forum is for support and not pointless discussion by users who don’t know what they’re doing.”

    If you’re so sure of yourself, how about testing my way of doing things to see if it works or not? All you have to do is install the “cache warmer” plugin and create the Integromat script according to the instructions I’ll provide.

    After all, you’re an experienced PHP developer, so you’ll be able to tell pretty quickly if I’m messing up. I have no doubt that, with your experience, you’ll probably be able to tell if I’m wrong.

    How about it?

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Features request’ is closed to new replies.