• Resolved carlos3web

    (@carlos3web)


    I have an installation with Woocommerce and I want to exclude the “cart” “my account” and “checkout” pages from the cache.

    I write / my-account / in the exclusion list but when saving, the expression is modified by \/my-account\/ automatically.

    It’s correct like this? Will cache exclusion work? If not, how should I write the exclusion correctly?

    Thanks!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @carlos3web,

    Those pages will be excluded by default. Also, any pages, where Hummingbird detects any cookies from WooCommerce, will be auto excluded. You should not need to do any additional configuration.

    Best regards,
    Anton

    Thread Starter carlos3web

    (@carlos3web)

    Ok Anton, thank you very much!

    I have one more question:

    I need to update an attribute daily with the WP All Import plugin that indicates the delivery time of each product.

    When I try to update the attribute manually with the product cache disabled “Caching / Page types / Products” the attribute is updated on the front just by clicking on the “Save attributes” button

    But if I activate the product cache only the attribute in the front is updated if I press “Save attributes” and then press “Update” in the product editor.

    What can I do to make the attribute update look in the front if I do an automatic import?

    Thanks!

    • This reply was modified 5 years ago by carlos3web.

    Hi @carlos3web ,

    You can use the wphb_clear_page_cache action. For example:

    // Clear the cache for post ID = 12
    do_action( ‘wphb_clear_page_cache’, 12 );
    
    // Clear all the cache
    do_action( ‘wphb_clear_page_cache’ );

    Or you can try to set “Clear full cache when post/page is updated” in Hummingbird – Page Caching

    Best regards,
    Anton

    Thread Starter carlos3web

    (@carlos3web)

    Okay. I will try it.

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Regular expressions of cache exclusions are modified’ is closed to new replies.