Identify problem code and use faster alternatives to accomplish the same task.
Use optimization techniques to improve runtime performance.
Learn ways to ensure the UI is responsive at all times.
Achieve faster client-server communication.
Use a build system to minify files, and HTTP compression to deliver them to the browser.