WordPress.org

Ready to get started?Download WordPress

Forums

WP Super Cache
Disable .xsl .xml files in WP Super Cache (4 posts)

  1. youner
    Member
    Posted 6 months ago #

    How can I disable .xsl and .xml files from caching in WP super Cache?

    Thanks

    http://wordpress.org/plugins/wp-super-cache/

  2. john-michael
    Member
    Posted 6 months ago #

    Define DONOTCACHCEOBJECT to prevent caching.

    define( 'DONOTCACHCEOBJECT', true );

  3. youner
    Member
    Posted 6 months ago #

    In this Column?

    Add here strings (not a filename) that forces a page not to be cached. For example, if your URLs include year and you dont want to cache last year posts, it’s enough to specify the year, i.e. ’/2004/’. WP-Cache will search if that string is part of the URI and if so, it will not cache that page.

    wp-.*\.php
    index\.php
    .xsl
    .xml

  4. Emre Vona
    Member
    Posted 6 months ago #

    Did you try Wp Fastest Cache? In wp fastest cache, xml files are not cached.

    http://wordpress.org/plugins/wp-fastest-cache/

Reply

You must log in to post.

About this Plugin

About this Topic