Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Emre Vona

    (@emrevona)

    Thread Starter justanothernetizen

    (@justanothernetizen)

    Hi,

    Thank you for the quick answer.

    Well, yes. I had seen that, but I had no idea how to call the hook from “outside” WordPress. I did a few searches and it seems to be rather trivial once you see it
    “require_once (‘PATH/wp-load.php)” (for others that may be searching for this).

    Tried and tested. Working. Thanks.
    But I suppose it would still be more convenient, when updating the product via a remote machine, to have a wget (or curl) script of the form :

    https://YOUR-SITE-URL.com/?action=wpfastestcache&type=clearcache&token=123abc&ID=1923

    Best Wishes.

    Plugin Author Emre Vona

    (@emrevona)

    but the cache of pr?duct is cleared automatically, when you update a product.

    Thread Starter justanothernetizen

    (@justanothernetizen)

    via API?
    It was not my experience that the cache was cleared when I updated the product via the Woocommerce API or Woocommerce Import. I can test that again if you say that it should be cleared.

    Thanks.

    Plugin Author Emre Vona

    (@emrevona)

    please let me know

    Thread Starter justanothernetizen

    (@justanothernetizen)

    Hi.

    Nope.. the cache for a product (or the category pages) is not cleared when using the Woocommerce API (remotely). (Of course it *is* cleared when updating the product via the GUI.)

    Anyway.. once one knows how to call the hook via a 3rd party script it is not too much work to write something up (which I just did).
    I suppose it would still be easier to have something to call via remote URL; but it is okay. ??

    Best Wishes.

    Plugin Author Emre Vona

    (@emrevona)

    I can fix the issue. Please contact me via email: https://www.wpfastestcache.com/contact-us/

    Thread Starter justanothernetizen

    (@justanothernetizen)

    Will do so. Thanks.
    I did not realise that updating via the Woocommerce API should clear the cache and I thought I was putting in more something along the lines of a “feature request”, rather than a bug.

    Best Wishes.

    Thread Starter justanothernetizen

    (@justanothernetizen)

    I am marking as closed.
    I am happy with the way I worked “around” it (above).
    We did not solve the “issue” (or was it a feature request?). I did not have time to set up a duplicate site, etc.. to help the developer, however I am very happy with the developer’s attempts at solving this.
    Hopefully we will pick this up some time later.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Clear Cache by URL per ID’ is closed to new replies.