W3 Total Cache
Pages with DONOTCACHEPAGE still serve cached pages (1 post)

  1. artifex223
    Posted 2 years ago #

    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.



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic