• 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 15 replies - 1 through 15 (of 19 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @apendix

    Thank you for your inquiry and I am happy to assist you with this.
    Can you please share the website URL?
    you should only add it in the following format:
    /shop/
    /cart/
    /checkout/
    /account/
    to the “Never Cache following Pages” field in Performance>Page Cache.
    Please share the website URL so I can check the output and see if the shop page if it’s excluded from the cache and check the products also.
    Thanks!

    Thread Starter Mitko

    (@apendix)

    Hi again,

    I’ve just added the /shop/ into “Never Cache following Pages” field and purged the cache:
    Both can’t be cached
    https://mia-works.com/shop/
    https://mia-works.com/shop/pokrivki/pokrivka-za-masa-koledni-tishlaiferi-chetiri-salfetki/

    I’d like not to be cached only https://mia-works.com/shop/

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @apendix

    Thank you for the information.
    Can you please add “Performance” to Performance>Minify>HTML Minify>Ignored comment stems: save all settings and purge the cache
    I need to see the W3TC output which is removed by the HTML minify.
    Thanks!

    Thread Starter Mitko

    (@apendix)

    OK, I’ve added “Performance”

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @apendix

    Thank you for the information.
    Indeed, I can see that the product pages are excluded from cache along with the /shop/ page.
    Can you please share the screenshot of the “Never cache the following pages:” field?
    Thanks!

    Thread Starter Mitko

    (@apendix)

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @apendix

    Thank you for the information.
    Can you please remove everything added except the /shop/?
    It should look like this:

    wp-.*\.php
    index\.php
    /shop/

    Thanks!

    Thread Starter Mitko

    (@apendix)

    Done

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @apendix

    Thank you for the information.
    Let me make some tests and I’ll get back to you.
    Thanks!

    Thread Starter Mitko

    (@apendix)

    Hi Marko,
    may I revert to the old settings in the meantime?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @apendix

    Thank you for yoru patience.
    RegEx is supported so can you please try adding /shop$ to “Never Cache following Pages” and let me know if this helps!
    Thanks!

    Thread Starter Mitko

    (@apendix)

    Hi Marko,
    now all shop pages are cached, including /shop/
    https://prnt.sc/20mmsbh

    • This reply was modified 3 years ago by Mitko.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @apendix

    Thank you for the information and sorry for the late reply.
    Can you please makesure that the “Never Cache following pages” field looks like this:

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

    Please confirm this, save all settings and purge the cache and let me know when I can check the website.
    Thanks!

    Thread Starter Mitko

    (@apendix)

    Done!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @apendix

    Thank you for the information.
    Let me check this and please leave the configuration as-is for now.
    Thanks!

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