• Hi,

    I’m having a problem with disabling cache for a specific page(s). I tried to disable in the settings by passing the page url in the Never cache the following pages: field like this

    
    /part-of-page-slug*
    

    I can’t get this working using this approach.

    I have also tried to disable the cache on a template level by placing
    define('DONOTCACHEPAGE', true); in my template file. Is it important where this constant is defined? I tried in the first line as well before and after get_header(). No luck with this solution as well.

    As I understood I don’t need to combine both techniques, right? It should work both ways, isn’t it?

  • The topic ‘I can’t turn off cache for specific page’ is closed to new replies.