OK, I installed & activated WPTouch and some quick tests:
- test with normal mobile view
- test with a specific landing page for mobile
- test with the same landing page but with mobile template “home page”
1 and 2 worked OK, but when changing the mobile template to “home page” Autoptimize indeed is not working.
I did some debugging in Autoptimize, and it seems like the “template_redirect” action isn’t called by WPTouch for the “home page” mobile template (but it is for the default mobile template). As this is the entry point for Autoptimize, it indeed is not triggered in that specific context.
So, if you are on the “home page” mobile template, you could either switch to the default template. If that is not what you need/ want, functionally and if you do need Autoptimize on that page, then I’m afraid you should reach out to BraveNewCode to ask if/ why the template_redirect action isn’t used/ triggered for the “home page” mobile template.
hope this helps,
frank