Active
Project:
Mobile Theme
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 May 2012 at 10:38 UTC
Updated:
12 Apr 2015 at 12:58 UTC
Jump to comment: Most recent
Comments
Comment #1
adhisimon commentedIf I disable "Cache pages for anonymous users" and clear the cache, it looks work for a while. But after several hours, It looks like to use drupal cache again.
I don't like to use different subdomain (m.****, mobile.****). And I think it's the purpose of this module to enable mobile version without using different subdomain.
Comment #2
Clément commentedYes, I totally agree with you!
But Drupal is not Wordpress! With no cache, Drupal is really slow. For now the module does not work when cache is enabled.
Comment #3
quiptime commentedHello Clément,
You post this bug on three modules with same content:
Your message
is to simple and not really constructive. A module maintainer can not understand the problem.
And, please no Drupal vs Wordpress discussions (see #2).
Comment #4
Clément commentedI solved the problem by myself.
Here is my solution:
Installing the module: Dynamic Cache
+
Comment #5
SewFresh commentedA fix to this is just what I was looking for! However, I'm a coding newbie and was wondering, after you install the Dynamic Cache module, where do you put that code you mentioned for the fix?
Thanks!
Comment #6
Anonymous (not verified) commentedIs this not just programatically disabling the cache for all mobile devices? It's a work-around, but it doesn't really seem to be a fix. If your site is mainly viewed on mobiles, you might as well just turn off caching.
Comment #7
extde commented#4 is not good solution.
I still want cache.
I am using Varnish cache (external)
Here are steps:
1) enable "external page cache" (http://drupal.org/node/797346)
used following snippet:
2) modify vcl_hash to separate different presentations for same URL but different user-agent (http://bridgecitystudio.com/tutorials/configuring-varnish-cache-user-age...)
3) modify vcl_deliver - remove Etag from HTTP Response (not sure this has an effect, looks like this might help with browser caching issues when switching user-agent)
Comment #8
MakeOnlineShop commentedHello,
Can you confirm that the last message posted is the solution ?
Thank you.
Comment #9
compsyguy commentedI found something that fixed the theme switch for cached pages for anonymous users for me.The problem was with url alias chains - if a page had a url alias, that points to another alias, then the switching won't happen.
The fix I did was to just make sure that all the links had a direct alias to the node/$nid and that seems to work.
Nevermind, that doesn't work.