Re:Hacker News Web App for Mobile
by thekingshorses on Thursday August 08, 2013 @12:49PM
(#6180115)
Sorry I forgot to mention, I also use Fastclick(https://github.com/ftlabs/fastclick) for iOS.
JS is uglified. Libraries takes 55% of file size, and rest is my code.
Re:Hacker News Web App for Mobile
by cpprototypes on Thursday August 08, 2013 @01:00PM
(#6180200)
The UI performance for your web app is impressive. Did you use any other libraries besides fastclick? Or was it a lot of manual work and research to make the UI perform well?
+1. I don't know what are your plans with this app, but I would love to learn more about how you did that.
Do you plan to open-source it?
+1
Re:Hacker News Web App for Mobile
by juretriglav on Thursday August 08, 2013 @01:27PM
(#6180407)
+1. I would love a more detailed "How I built the HN single page app" post.
Looks like no framework was used to build this (except for Zepto, I guess). Total size for JS is 55kb, for comparison Angular 1.0.7 minified is 78kb. CSS adds another 30kb, including the ico font that's base64 encoded in style.css. 115kb for the whole page on a fresh load, on subsequent loads it's only something like 4-5kb. Very nice!