W3C home > Mailing lists > Public > public-bpwg@w3.org > July 2008

"Going fast on the Mobile Web" - input for MWABP?

From: Dominique Hazael-Massieux <dom@w3.org>
Date: Tue, 01 Jul 2008 10:37:36 +0200
To: public-bpwg <public-bpwg@w3.org>
Message-Id: <1214901456.6704.14.camel@localhost>

Hi,

I have been researching whether we should recommend using gzip-ping
content or not in the Mobile Web Application Best Practices - I'm hoping
I'll have some concrete findings to share at some point, but I'm not
quite there yet.

In the meantime, I stumbled upon this presentation from Cloud Four
called "Going Fast on the Mobile Web":
http://www.slideshare.net/grigs/going-fast-on-the-mobile-web
where, based on some of the research they made on their own, they make
the following (paraphrased) recommendations (starting slide 41):
 1. use gzip compression
 2. Fewer included resources
 3. use aggressive caching 
 4. minimize file sizes 
 5. simple and valid markup 
 6. reduce DNS lookup
 7. avoid redirects
 8. limit cookies - in particular limit them to a domain different from
static resources (so that they don't weigh down the outgoing requests)

I think we cover already 2,3,4,5, 7 in BP1 and MWABP; 1 is still being
researched (and the data they provide didn't seem that conclusive to me,
FWIW); I'm not sure how much of 6 and 8 we've covered.

They also have further recommendations for post-iPhone devices (but
without much details):
 1. optimize JS performance
 2. Reduce DOM elements
 3. Javascript at bottom of page
 4. CSS in the head tag
 5. Lazy load components
 6. Use GET unless you need POST
 7. use JSON instead of XML
 8. Use hardware accelerated effects
I think we (at least try to) cover 1 and possibly 2; not sure what
advantage 3 provides; 4 is unclear too, but if they mean "include the
style directly in the page", I seem to remember we discuss it; not sure
what 5 is about, 6 would need some caviar about the semantics of GET vs
POST, I think we cover 7, and I'm not sure what 8 is supposed to cover.

Maybe the editors will find ideas of best practices to extract from the
above?

Regards,

Dom
Received on Tuesday, 1 July 2008 08:38:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 1 July 2008 08:38:50 GMT