-
Notifications
You must be signed in to change notification settings - Fork 0
Performance Brainstorm
sam1rm edited this page Aug 8, 2015
·
2 revisions
- Figure out listener for when all the components have been rendered for a particular view
- Learn how to render all the templates at once
decrease time user is idle
- Eliminate all unused code & dependencies
- ng-ifs vs ng-hide vs ng-show vs
- Avoiding uneccessary listeners
- Limit the total number # of files being served
- Less GET requests, less lag
- files by combining them.
- Gzip & Compress files
- Use third party CDN service
- Check if server has new update - GET
- Clear the cache
- Turn on the splash screen (doesn't work on all platforms)
- Window.replace("/production/app/")
- This replaces the entire "remote/" app with a new updated one
- Mainly two new files --> app.js, app_version.css, index.html
- [SLOW] App.js references hella files from the server, so they area all re-loaded again GETx 60