• Resolved dbiljak

    (@dbiljak)


    Hi,
    I have “Custom post type” and I don’t want to cache “Taxonomy pages”, “Archive pages” and “Single post pages”. Added directories to “Page caches” -> “Never cache the following pages”. But still it is getting cached. Any advice?
    D.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @dbiljak

    Thank you for reaching out and I am happy to assist you with this.
    Can you please share the screenshot of what you added to “Never Cache following Pages” and also the exact pages you want to exclude from caching.
    Regexp is accepted and you can check more details on how to exclude specific pages from being cached in our FAQ.

    Thanks!

    Thread Starter dbiljak

    (@dbiljak)

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @dbiljak

    Thank you for the information.
    Can you please share the website URL so I can check the source?
    Thanks!

    Thread Starter dbiljak

    (@dbiljak)

    Hi @vmarko

    Post links:
    Archive page
    Term example
    Post example

    Same with page links:
    Parent page
    Child page

    D.

    • This reply was modified 2 years, 6 months ago by dbiljak.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @dbiljak

    Thank you for providing more details.
    I’ve checked all the pages you provided and all of them are excluded from page caching
    If you check the source, you can see the W3TC HTML snippet on the bottom:

    <!--
    Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/
    
    Object Caching 203/1285 objects using memcached
    Page Caching using disk: enhanced (Requested URI is rejected) 
    Database Caching 128/635 queries in 0.181 seconds using memcached
    
    Served from: yourwebsite.com @ 2022-05-23 17:33:29 by W3 Total Cache
    -->

    As you can see Page Caching using disk: enhanced (Requested URI is rejected) means that the Page Caching is enabled, however the page is not being cached as it was excluded from Page Caching.

    I hope this helps!

    Thanks!

    Thread Starter dbiljak

    (@dbiljak)

    Hi @vmarko
    Yes I know that, but client get user complaints that one day is all OK and then next day when they log in they can’t access premium content (because on some pages they are not logged in, I guess browser cache).
    D.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @dbiljak

    Thank you for the information.
    The BC HTML cache expires is set to 1 hour so this should not be the case.
    You should make sure that the option “Don’t cache pages for logged in users” is enabled in Performance>Page Cache and also add /moj-profil/ to the “Never Cache following Pages” field.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to stop Page Caching’ is closed to new replies.