Skip to content

Instantly share code, notes, and snippets.

@joshvermaire
Created July 25, 2012 04:41
Show Gist options
  • Save joshvermaire/3174435 to your computer and use it in GitHub Desktop.
Save joshvermaire/3174435 to your computer and use it in GitHub Desktop.
Notes on the LinkedIn Building A Performant HTML5 APP Meetup

LinkedIn iPad app performance

extending the Router to use a baserouter which funells all data through a router https://gist.github.com/3112096

double render caching render next page before getting to the next page (header in linkedin's case)

"Lighter is your DOM, faster is your app" what to consider # of dom nodes as too many?

"Don't use app cache use LS instead" Sending a diff between the version stored on the client and server Using volitile vs non-volitile keys to never be in a situation with a lack of storage available

DATA uris. with gzip compression, results in much smaller sizes. Text constrained within a large size div creates a noticiable flicker. Is this on iPad only?

Hardware accelation will continue to render during the scrolling with the iOS 5 support for scrolling.

Using documentFragments in and then append it to the DOM. Also can continue to append it elsewhere.

Setting src string to 1px.gif rather than an empty string so that it unloads the images. Check on whether or not hte images are actually canceled in mobile applications (html5)

NavBar and ObjectiveC hook to execute JS - easy Phone app using messaging via url... - because it's more difficult

Destination URLS stored via grouped references to different UX stacks.

iWebInspector/Weinre debugging on the device

diffmatchpatch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment