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

I recently needed to do this for google, but i wanted the rendering time, and delivery of the page to be under 500MS, so i hacked up something that works with expressjs

https://github.com/icodeforlove/node-express-renderer

It uses phantomjs but removes all the styles initially so the rendering time is much faster. (my ember app was averaging 70MS to render, but i prefetch the page data)



came across this recently and it's super easy to implement




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

Search: