Re:IPhone Web App Performance Tip - Use Inline Images
by tlrobinson on Wednesday August 27, 2008 @02:24AM
(#287823)
One thing to remember is Base64 encoding is less efficient than the raw binary. Also, all modern web servers and browsers support reusing TCP connections for multiple HTTP requests (though there is still the extra latency for each actual request, just not the TCP connection sequence, etc)
I'd be interested to see actual benchmarks, rather than this "trust me, it works" thing.
Re:IPhone Web App Performance Tip - Use Inline Images
by pmjordan on Thursday August 28, 2008 @10:19AM
(#289130)
The Base64 issue should be relatively minor as long as you're gzip-encoding everything your server sends. (the iPhone supports that, right?) Each base64 byte only has 6 bits of entropy so it'll compress well. I'd be more worried about maintaining efficient caching with this technique.
Re:IPhone Web App Performance Tip - Use Inline Images
by geuis on Wednesday August 27, 2008 @02:24AM
(#287822)
First point: MUCH thanks to the author for this tip. The working examples definitely showed the difference on my iPhone on edge.
Second point: who in the hell cares how the word "iPhone" is capitalized? Really, is the most pertinent comment you can contribute about being a f*cking grammar Nazi?
On a fun note, the iPhone makes sure you cap the "P" automatically. It doesn't care about the caps on microsoft.
Re:IPhone Web App Performance Tip - Use Inline Images
by whalesalad on Wednesday August 27, 2008 @02:11AM
(#287813)
Can we please, please start referring to the iPhone as it's actually called... _i_Phone, not Iphone or IPhone or I-Phone. Lowercase i, uppercase Phone.
iPhone.
I'm starting to think that News.YC does this automagically... someone help a brother out here.
Specifically: The script assumes that words with capitalized letters other than the first character are already correctly capitalized. This means it will leave a word like “iTunes” alone, rather than mangling it into “ITunes” or, worse, “Itunes”.
I'd be interested to see actual benchmarks, rather than this "trust me, it works" thing.
Not sure if this is a great idea if navigation involves multiple image-rich pages. Any idea?
Second point: who in the hell cares how the word "iPhone" is capitalized? Really, is the most pertinent comment you can contribute about being a f*cking grammar Nazi?
On a fun note, the iPhone makes sure you cap the "P" automatically. It doesn't care about the caps on microsoft.
iPhone.
I'm starting to think that News.YC does this automagically... someone help a brother out here.
Specifically: The script assumes that words with capitalized letters other than the first character are already correctly capitalized. This means it will leave a word like “iTunes” alone, rather than mangling it into “ITunes” or, worse, “Itunes”.