Topic: adding to the cache id
trimble
avatar
Softmore
Softmore
Posts: 98

Posted:
9.Mar 2007 - 00:22

Would it be possible (and how) to include a browser type and/or platform code as part of a cache id? I'd like to deliver different layouts depending on browser type or operating systems. The purpose of this is optimize my layouts for standards and non-standards compliant browsers, as well as providing very stripped-down layouts for mobile devices (smartphones, pocket pc, palm, etc.).

--
Regards,
Mark
_______________________
LinuxMCE 0710
Zikula 1.0.1
Firefox 3.0.1
kaffeeringe.de
avatar
Professional
Professional
Posts: 900

Posted:
9.Mar 2007 - 21:33

Isn't that a question of different style sheets?

--
best regards from Kiel, sailing city

Steffen Voss

Member of the PostNuke Steering Committee
Read The Zikulan's Blog
trimble
avatar
Softmore
Softmore
Posts: 98

Posted:
9.Mar 2007 - 21:44

In some cases yes, but in some cases an entirely new layout is called for. Some effects that can be achieved with the latest CSS methods simply can't be replicated in older or non-standards compliant browsers (especially if one is trying to maintain strict XHTML compliance). In such cases it's nice to not have to limit a site to the lowest common denominator. Particularly in the case of layouts optimized for PDAs and smartphones, much can be gained in bandwidth requirements and general usability by reducing a site to its bare minimum (a great example of this is Google's normal page layout vs. its PDA optimized layout).


--
Regards,
Mark
_______________________
LinuxMCE 0710
Zikula 1.0.1
Firefox 3.0.1