I think i have a great improvement idea Image may be NSFW.
Clik here to view.
OK a Cache has 2 Parts:
1. Creating the Cache
2. Deliver the Cache
Creating the Cache with automatic 100% correct mobile detection: Most Mobile Plugis (nearly all i think) creates the Mobile Page “on the Fly” by visiting with a mobile device. After Activating the Mobile Cache Plugin (Like WP Mobile Pack or Wiziapp) delivers the standart active theme to “Desktop” devices like a PC and a “on the fly” created theme to mobile devices…
So we have 2 different themes that will be delivered.
How we can go sure that “hyper Cache” detect the same mobile devices like the Mobile Theme Plugin (my idea is simple and works with all of them)? Look in the delivered source code:
every mobile theme Plugin Returns something where i can see that is the mobile site that beeing returned. add a Little Textfield” to the Options page like “String to search”. In WP Mobile Pack for example there is a button on the page like “Switch to Desktop view”. Thats a string that we can use for search in the delivered source code. When its found, then the mobile theme Client detected a mobile device and hyper Cache saves it to the “mobile Cache”.
In most Mobile Theme Plugins (I know Mobile Pack and Wiziapp) i can “Name” the site, thats used in site title and heading. When i Name it “my mobile theme” than i can add “my mobile theme” as search string. When its found in the source Code, than we know: Mobile Page detected by Mobile Theme Plugin Image may be NSFW.
Clik here to view.
The Second Step is to deliver the Cache. Here we have no other Option than detecting the Agent with hyper Cache it self. But i can add here a list of devices(agents) where i know that they are 100% supported by the mobile theme plugin. Better than nothing.
Another possible step is to deliver the “mobile Cache” to all mobile devices that Support HTML 5 – In the case of WP Mobile Themes and Wiziapp a HTML 5 Layout is genereted, so all HTML 5 compatible mobile devices should can Show this layout.
But its my choise – For Delivering Cache i only can use the “normal” Agent list that hyper Cache already build in.
But with the “string detection” we have no wrong Caches anymore and it works with all mobile Cache plugins Image may be NSFW.
Clik here to view. – So we can save without fails the mobile theme as mobile Cache and the Desktop theme in Desktop Cache!
Probably you should not use a cache system
No way. Stefano for real: 50 Uncached wordpress Blogs and one Google bot kill all Servers. We had every week (sometimes several times a week) a down Server, because Google bot Comes to multiple sites same time. That kills all databases! Google try to “read” hundrets of page simultaneously.
Without Caching there is no way…Sorry. This works when i have 1 or 2 WordPress Blogs but not when i have hundrets!
what do you say to my idea? i can help you to implement it, if you want. Should be really easy! Its not a big thing…