1

I am using themekey module with mobile detect module for switching mobile and desktop version of themes. Some time it works and some time not. On Apple devices it load the mobile version. I'm currently using a Shared Hosting provider and I'm using boost module in order to generated my caching.

3
  • Are you using some kinda of caching ? There was a problem with the mobile detect module + caching. Which was solve last weekend. Commented Mar 15, 2015 at 0:39
  • Try to remove the boost module and see if works ? Commented Mar 15, 2015 at 14:04
  • I am shared hosting with out the cache or boost module the server will be overloded. Is there any other solution for this.
    – Fawad
    Commented Mar 16, 2015 at 2:57

1 Answer 1

0

The mobile detect module had some issue with caching. The Drupal 7 Core caching have been supported since few weeks ago by a sub-module call "Mobile Detect Caching."

However, the developer mention that he boost probably would not work.... Here is what the developer said:

It will only work with Apache(?). I doubt it will work with Varnish, Boost, or similar. I suspect it will work with {cache_page} in alternate caches, but I didn't test this.

In the comments you mention that you are using a Shared Hosting and you depend on the boost module and what you should do ?

Well, I would recommend you to follow the issue Drupal Cache + Mobile Detect Conflict where the still discussing this module caching issue. In addition to follow you should ask for boost support or an alternative. They might try to implement this module with the boost module.

In the mean time, I would recommend to used a free CDN called CloudFlare and let them generated the caching instead of the boost Module. However, you probably would not get the same results as the Boost module.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.