WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Remove Specific Page from W3TC (2 posts)

  1. Ryan
    Member
    Posted 1 year ago #

    I am wondering how to remove a specific page from the cache and tell W3 to never cache it.

    Say the URL for this page is:
    http://www.mysite.com/visit?query_string=someinfo

    and I want the /visit* page to never be cached.

    I have tried on the Page Cache settings page under 'Never cache the following pages' to set it to /visit* but that doesn't seem to work. I also added define( 'DONOTCACHEPAGE', true ); to the page template with no success.

    If I view the source on this page it still has:

    <!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/
    
    Minified using disk: basic
    Page Caching using disk: enhanced (Requested URI contains query)
    Database Caching 3/4 queries in 0.001 seconds using disk: basic
    Object Caching 381/387 objects using disk: basic

    My question is how do I remove a page from the Cache AND verify that is is uncached. Many thanks for any input.

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Plugin Author

    Posted 1 year ago #

    The way you have done it is correct. All pages have the HTML comment cached or not. To better see if caching is disabled check/enable Debug Mode Page Cache on General page. Its towards the bottom of the page.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic