- 0
wordpress Use WP Super Cache on mobile theme with Nginx
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Save 83% on 3-Years of WP Buzz Managed WordPress Hosting
By News Staff,
- 0 replies
- 7 views
-
WordPress gets an AI assistant that can write blog posts, correct grammar, translate content
By Aditya Tiwari,
- wordpress
- automattic
- (and 1 more)
- 4 replies
- 4 views
-
Twitter gives academics 30 days to delete Twitter data or pay $42,000 a month for API access
By Anushe Fawaz,
- 7 replies
- 3 views
-
WordPress leaves Twitter API due to the sudden price hike
By Ishtiaqe Hanif,
- 2 replies
- 2 views
-
What are the latest tools and techniques for developers to optimize WordPress websites?
By WP Forhad,
- 1 answer
- 2,403 views
-
Question
Mr.XXIV
So, this seems to be a rare case. There are people like me who want to use a separate theme for mobile & tablets instead of going the responsive route due to advertisements. I'm currently using Nginx, WP 4.0, WP Super Cache and WordPress Mobile Edition. When using WPME, it makes WPSC create a separate cache entity index-mobile.html, great. But the problem is, the desktop users will be able to see the cached version of the desktop, the mobile users won't for the mobile theme, which will cause a highly negative impact of performance on the servers I'm using. Currently I'm on Media Temple's best Dedicated Server, but even I see it going through a lot of stress. So I need both devices to see HTML.
Currently, Nginx is having all the websites globally use this default configuration that WordPress recommends when using WPSC or W3TC.
Source to Nginx vhost settings for WordPress
I don't prefer using W3TC, I just couldn't make it work the way I want, and I've been trying to build themes that use features that plugins could do so I could save even more performance, and it's helped. Right now WPSC may be the savior the server needs if I can manage to get the Vhost to also view the mobile cache.
I hope someone knows the workaround, because I really don't want a server to get stalled again. I'm currently moving to Digital Ocean to save money while I'm rebuilding my themes. Trying to maintain to 30m visitors a month is stressful.
Link to comment
Share on other sites
11 answers to this question
Recommended Posts