• Hi,

    Thank you for your wonderfull plugin.

    seems this option :

    “Automatically purge the Cloudflare cache on website changes (posts, pages, themes, attachments, etc..)
    If enabled, WP Cloudflare Super Page Cache tries to purge the cache for related pages only.”

    Does not work with WooCommerce product. Indeed after someone buy a product and then changing the stock number (the stock message status on product loop and single page should change) i still have the same stock status. and i have to purge the cache manually for update this status.

    I would like that is managed automatically.

    And after this purge is it possible to make launching the preload cache automatically too ?

    Normally if all this work that should kill the game. ??

    Thank you

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

    (@salvatorefresta)

    Hi @maaw ,
    I will add and option to automatically purge the cache when an end user completes an order on woocommerce, thanks for your suggestion.

    For everything else, does everything work?

    And after this purge is it possible to make launching the preload cache automatically too ?

    I will add an option also for this ??

    Thread Starter maaw

    (@maaw)

    Hi,

    Thanks a lot for your reply, and adding these options! Yes all work fine and graphic is really great.

    The automatic preload cache will be able to preload only the specific page who was purged like the page where there was the product whose sotck had just been changed?

    Thank you

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @maaw ,
    I’ve been the beta version for the woocommerce option you requested above. Do you want test it before the release?

    Thread Starter maaw

    (@maaw)

    Hi,
    Yes

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Thread Starter maaw

    (@maaw)

    HI,

    Thank you for let my trying the new features.

    Automatic purge for single product page works good after product was purchased but not the loop page (who where appears status stock too).

    And i think it’s better to triggering just the fact that the stock number has changed (or any others change) and not the fact that the product was purchased because when the admin change the stock number (or title) from dashboard the cache should be purge too and it’s more convenient. Then with that, purchased product and changing stock from admin should triggering the purge. What do you think ?

    And preload cache does not work at all at my side (cache work correctly) :/

    Thanks you very much

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

    (@salvatorefresta)

    Hi @maaw ,
    try this one that should purge also the categories: https://we.tl/t-WJ2N64IuT1

    For the preload you have to wait ’cause it needs more work

    Let me know ??

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @maaw ,
    do you solved?

    Thread Starter maaw

    (@maaw)

    Hi Salvatore !

    Really sorry for my delay !

    I just tried but know the automatic purge does not work anymore at all anymore :/

    If you need access to my staging website don’t hesitate.

    Thank you for your concern !

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @maaw ,
    yes sure. I didn’t tested it before, so it’s normal ??

    Thread Starter maaw

    (@maaw)

    HI, i will install again your plugin and make some others test. I will give you feedback soon !
    Thank you for your work !

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hey install The last available version and let me know ??

    Thread Starter maaw

    (@maaw)

    Hi,

    Yes i just installed it and tested it.

    -For automatic purge product cache when changing stock number :
    randomly it seems that the purge does not reach all related content. For exemple i have product who is related on two category and one category was purged but not the other one and sometimes it’s the single product page who’s not purged.

    -Preload : Seems still not work at my side (tested on two different website with all not must use plugin deactivate). Never preloaded and i waited more than 15 minutes.

    -Cache for user logged in : no cache for logged user. Even “Bypass the cache for logged-in users” is off, Cache statut stay on “Expire”

    Thank you very much !

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

    (@salvatorefresta)

    Hello @maaw ,
    for the first point, please replace libs/cache_controller.class.php with this one https://we.tl/t-xQMS3Bwl9e

    This code purges:

    • Shop url
    • All urls of the categories related to the product
    • Other related pages

    when the hook woocommerce_updated_product_stock fires. Wait 30 seconds before to check if the page was purged from Cloudflare.

    The preloader does not start yet automatically after the purge, so at moment it’s correct this behavior.

    Don’t cache pages for logged in users, it’s not recommended. “Expire” means that the page was in cache but is expired and this may depends on expire http headers or so other factors. It’s difficult from external give you an accurate answer

    Thread Starter maaw

    (@maaw)

    HI,

    Thanks a lot i will try.

    For Preload i mean even the manual one does not work at my side. But yes the automatic preload is a must use feature.

    I will have a lot of connected customer that they just need to load fast all the common menu items. I have a lot of menu items (Megamenu) and all are common for all. Only Cart and My account need to stay dynamic. That’s why i try to cache too logged users.

    Have a great days

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