WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
Problems with WPTouch and rejected cookies? (2 posts)

  1. jshare
    Member
    Posted 8 months ago #

    I'm on 0.9.2.11 of W3TC and 1.9.7.1 of WPTouch.

    Sometimes, even when surfing on the desktop, my site shows the mobile version of a page.

    But, because W3TC is configured to not show cached versions to logged in users, when I login, I don't see the mobile versions from the desktop, so it seems clear that this is an issue between the 2 plugins.

    WPTouch uses the wptouch_switch_toggle cookie, which it configures as a rejected cookie in W3TC's pageview settings. But correct me if I'm wrong- if that was working properly, this problem should not be happening.

    I do know that if I clear my cookies in the (desktop) browser, the correct version of the page will appear (the non-mobile one).

    Is this a rejected cookie bug?

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

  2. tomdkat
    Member
    Posted 8 months ago #

    One thing you could try is enabling debugging in W3 Total Cache and view the page or post from a mobile device (or use the mobile view on your desktop system) and look at the generated HTML source and at the bottom, you should see a HTML comment with the W3 Total Cache debug info. This should tell you if the page is being cached or not and whether or not the cookie is being rejected.

    That might provide some clues as to what's going on.

    Peace...

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.