Hi,
I'm looking for a way to cache pages based on role or theme.
I have a site set up using mobile tools to switch themes depending on PC/Mobile and then within Mobile adjustments are made for the various carriers.
The site shares the same content in most respects, but has different layout and structure between mobile and PC, and the different mobile carriers output slightly different formatting (it's for Japanese mobiles).
I tried using boost, which was awesome but as my pages use the same urls, it turned the mobile pages into the PC pages.
MikeyTown is helping me with this but as he said boost is based on urls so he said don't it won't work.
The other problem is that I can't do much to the server site for a domain solution he suggested.
What I would like to find out about is how to have separate caches based on role or theme.
When I set up boost, you could create a file layout to store normal files and css/js etc.
It would be great if a file structure like this could be made for roles and themes.
As I am fresh into the performance side I don't know how to go about this or whether it's possible.
I wanted to post earlier in this group but Drupal wouldn't let me join as my nromal user 'Bensbury' so I had to create a new account to post here.
If I can find a way to do this, it would make a really sweet solution for combo pc/mobile sites.
Thanks.

Comments
You can put some rules in
You can put some rules in .htaccess to search the user agent string for the most common mobile user agents (a list of ~15-20 will catch 99%). If one of those user agents shows up then tack on to the URL the query parameter that makes Boost skip the cache and go straight to Drupal.
That's the gist of it. You'll need to figure out the implementation part.
--
Dave Hansen-Lange
Director of Technical Strategy, Advomatic.com
Pronouns: he/him/his
Thanks. I'm not very good at
Thanks.
I'm not very good at understanding this yet, but wouldn't that mean the mobile content would then not get cached?
So that would be a PC Boosted site and a non-cached Mobile site....(?) (which is cool).
Or is this a sneaky way to have Boost cache the PC site and then have Drupal cache the Mobile site.
I have a:
PC theme
Mobile AU Kddi theme
Mobile NTT Docomo theme
Mobile Softbank theme
The PC theme shows different content and the mobile themes have slightly different formatting content in order to display properly.
I can sniff all their user agents, so would this allow me to cache them all separately?