• Resolved mrlukas

    (@mrlukas)


    As I read in your documentation:
    Partial cache purge:
    When you publish new content or update/edit existing content, the cache for that post/page will be cleared, as well as associated content (category archives, blog archives)

    In my case when I change the product price and update it the cashing is not refreshed for that product. Is there some kind of setting?

Viewing 8 replies - 1 through 8 (of 8 total)
  • @mrlukas

    You can use the following filter inside your active theme’s functions.php file.

    add_filter( 'wpo_purge_all_cache_on_update', '__return_true' );

    It will purge all the cache whenever you update the post/page/pproduct or create a new post/page.

    If you have any more questions, please feel free to write back to us.

    Thread Starter mrlukas

    (@mrlukas)

    @bornforphp

    Is there a way to clear the cache only for the updated product?

    @mrlukas Sorry at the moment there’s no function/filter to only update the cache for updated product.

    Thread Starter mrlukas

    (@mrlukas)

    This text is from your documentation:

    “When does WP-Optimize clear the page cache?

    Partial cache purge:
    When you publish new content or update/edit existing content, the cache for that post/page will be cleared, as well as associated content (category archives, blog archives)
    When comments are approved, or their status changes”

    I am confused.

    • This reply was modified 3 years, 3 months ago by mrlukas.
    Thread Starter mrlukas

    (@mrlukas)

    Now I understand why it is not working. I am using translatePress plugin which changes the URL for example .com/en/ or to .com/es/ so it seems that your plugin is not clearing the cash for this URL that has translation.

    If I turn off the plugin and the URL is simple without any /en/ then it is working.

    Are you planning to update it to work with translated websites?

    @mrlukas I’ll report this to our development team, if we can make the plugin compatible with TranslatePress in future.

    I am following here and also desperately trying to find a caching plugin that works well in combination with TranslatePress. Have tested various caching plugins and they all have the one or the other kind of issue with TranslatePress.
    Would definitely buy the paid version if you would be able to come up with a solution.
    Thanks!

    • This reply was modified 3 years, 2 months ago by pastidea.

    @pastidea Yes, we have reported this to our development team, and we will make it compatible with TranslatePress in near future

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cashe is not cleared after product update’ is closed to new replies.