Support » Plugin: W3 Total Cache » Pages with DONOTCACHEPAGE still serve cached pages

  • I am simply trying to disable W3TC caching for non-mobile users.

    On any given page, before loading the header, I check to see if the user is on mobile, and if not, I define DONOTCACHEPAGE as true.

    Pages visited by mobile users are now cached, and the pages they are served are those that were cached. Pages visited by desktop visitors are now never cached BUT they are served the pages cached by mobile users!

    If I understand it correctly, DONOTCACHEPAGE prevents a page from being cached. OK. But how can I prevent cached versions of pages from being served? I do not want my desktop users seeing mobile pages.


  • The topic ‘Pages with DONOTCACHEPAGE still serve cached pages’ is closed to new replies.