Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Long caching headers can keep your javascript heavy web-app from being downloaded every time - the first time you hit the url it "installs" (by caching the files) and after that it loads in about the same time as a native app.


Very true. I stand corrected.

Only thing left is browser "splash screen"/loading image customization and the experience could be near native.


According to http://developer.apple.com/library/IOs/#documentation/AppleA... you can do this for iOS.

    To add a splash screen during loading, create a 320x460 .png file, and then link to it in the header:

    <link rel="apple-touch-startup-image" href="./startup.png" />
I've actually never tried this.


It's good to know; but the only thing I found (note: it was a quick google session) that comes close to this for Android is when using PhoneGap to build a 'native app'.

Thanks for the info!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: