• Resolved Mitko

    (@apendix)


    Hello,
    I use woocommerce.
    I have this added to Never cache the following pages:

    wp-.*\.php
    index\.php
    /.*account.*
    /.*cart.*
    /.*checkout.*
    /shop/

    And unfortunately this excludes from caching pages like /shop/tableclothes/pink-set-1/

    Kind Regards.
    Mitko

    • This topic was modified 3 years ago by Mitko.
    • This topic was modified 3 years ago by Mitko.
Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter Mitko

    (@apendix)

    OK

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @apendix

    Thank you for your patience and for keeping the settings as suggested.
    We are still checking this to make sure all use cases are covered.
    It seems that all child pages are also excluded.
    I’ll get back to you as soon as I have more information.
    Thanks!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @apendix

    Thank you for yoru patience.
    It appears that the problem is with regex
    /shop$ for URL structure without trailing slash.
    Some wp configured with and some without. So both can be there. or even something like
    /shop[/]?$
    In your case, it’s best to use /shop/$
    Thanks!

    Thread Starter Mitko

    (@apendix)

    Thank you very much!
    I think it works now.

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘How to exclude the shop page without excluding products’ is closed to new replies.