OK, I feel like I must be missing something obvious, but I've reached my frustration point. I'm bringing my blog back from a long hiatus, and to prepare for that I'm updating it with the latest and greatest. That includes upgrading to WP3.1.3, changing themes, replacing WP Super Cache with W3 Total Cache and installing WPTouch.
It has been going fairly smoothly, except I'm having an issue with WPTouch which I think is tied to W3 Total Cache, but I'm not positive. I've searched for threads on working with these two and I found http://nimopress.com/pressed/blog-building-how-to-configure-w3-total-cache-to-work-with-wptouch-for-wordpress/ as well.
I started off with a stock install of both, and things seemed to be OK. Testing from a Motorola Droid I'd see the WPTouch version of the site, and my desktop got the 'normal' version. But if I tried to use the On/Off toggle on the WPTouch page it'd just reload the page in the same version - and the toggle was the same. But if I follow a link the next page loads the 'correct' theme. So say I load the home page and get the WPTouch version, I hit the toggle and still see that. But then I follow a link to a post and see the 'desktop' version and the toggle is now 'Off'.
So it looks like the request is making it to the server and being registered, but the browser is reloading the same page and only new pages are getting the change. But then those pages are 'stuck' on that theme. This does seem like a caching issue.
Based on what I found in past threads I added this list to the Rejected User Agents on the three W3 Total Cache pages:
t\-mobile\ mytouch\ 3g
I deployed and cleared all of the cache, but it doesn't seem to have made any difference. If I deactivate W3 Total Cache, WPTouch seems to behave correctly. Doing more debugging I determined that the issue is browser caching. If I disable browser caching in W3 Total Cache then, even with it enabled in general, it seems that WPTouch works as expected.
Before I spent too much time possibly re-inventing the wheel, I wanted to see if anyone else has W3 Total Cache working with WPTouch *with* browser caching enabled. If so, did you have to do anything special?
The site is http://www.gizmolovers.com/ Ignore the style, I'm still working on re-customizing the theme since I just switched from an ancient custom template I'd been using. So it is pretty much stock 'twentyten' right now.
Right now it is running *with* the Rejected User Agents list and with browser caching disabled. (I plan to test it without the list too, but I need a break.)