• Resolved wordpressnetwork

    (@wordpressnetwork)


    Hey,

    I am searching for tipps on how to set up Litespeed Cache for WooCommerce. On mine there are constantly products coming in, so everything changes. What would be the best practice here?

    I thought of 20 min, then purge everything. In the meantime deliver a stale cache. I need the selected home page (with WooCommerce blocks) purged as well as the WC category product archive pages – but not alle products themselves. Does that make sense?

    Any advice also from “normal” WooCommerce users is highly appreciated!

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

    (@qtwrk)

    stale cache doesn’t work that way

    how “constantly” that is ?

    Thread Starter wordpressnetwork

    (@wordpressnetwork)

    Constantly meaning the products coming in at batches.

    Like 5 new products – 5 minutes pause – 70 new products – 5 minutes pause – 23 new products – and so on. This over 2 – 10 hours a day.

    They do not need to be online right away. If there is an option to collect them and then put them online every 30 minutes or hour that would be also fine. If that is possible. Otherwise any best setting would be highly appreciated.

    Plugin Support qtwrk

    (@qtwrk)

    with that kind of dynamicity , I don’t think a cache is actually benefitial for you

    you can try Cache -> Purge -> Auto Purge Rules For Publish/Update , uncheck them all , see if it can reduce the cache purge amount.

    Thread Starter wordpressnetwork

    (@wordpressnetwork)

    Ok I will try that out. That is what I did first when using stale cache and then purging everything.

    Two last questions: does every single WooCoomerce product get purged also? Or can I somehow prevent that? Because there nothing changes.

    And secondly: how bad on server resources is purging anyway? Or is not purging the problem but the re-creation of the sites when not currently cached?

    Thank you so much.

    Plugin Support qtwrk

    (@qtwrk)

    ideally , it should only purge the product that is being touched , and maybe the page previous of it and next of it

    purge itself is easy test, the hard part , is after cache is gone , how many traffic it needs to be serve before cache is generated.

    Thread Starter wordpressnetwork

    (@wordpressnetwork)

    I understand. Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Best practice for WooCommerce’ is closed to new replies.