Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »
Jon
Jon
Torbit blog : New localStorage optimizations for amazing mobile performance - http://torbit.com/blog...
"These are actually the first views. We're including the js and css as inline js in the page request, applying the js and css to the page, pushing it into local storage, and updating a cookie to indicate to the server which files are in local storage on the client. This way on subsequent pageviews we can know what resources to include based on the cookie. This leads to a much larger initial page request, but fewer HTTP requests overall which is where a lot of the performance gains come from. I don't have any stats on the localStorage size vs cache sizes handy, but we'll probably address those in a future post when we have some more data on how these optimizations are performing in the wild." - Jon