Jetpack mobile and nginx fastcgi_cache
-
Hello guys,
I am trying jetpack mobile theme out and it seems just what I need, problem is I rely on nginx fastcgi_cache to cache rendered html to ram disk (tmpfs). That gives me the speed I need and keeps my websites up even if php or mysql goes down.
Well, problem is if the first hit on the page comes from a mobile device, mobile html gets cached and served to everyone. Same thing happens if first visit to page is from desktop – mobiles will fetch that page.
I am sorry but I really dont know how to ask. Can you guys give me any clue on the best approach to maintain cache but get the mobile theme benefits?
Currently I am looking at detecting mobile visitors at server level, but I have no ideia what I’ll do once I find out how to…
Any help is welcome.
Best regards.
- The topic ‘Jetpack mobile and nginx fastcgi_cache’ is closed to new replies.