O'Reilly logo

Mobile Web Performance Optimization by S. Niranga

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

In this chapter, we have discussed the importance of cache and how the caching mechanism works. Having a proper caching plan can boost up your site performance immensely. After this, I have explained how a developer should call JavaScript and CSS files and why we should avoid empty source and link attributes. Then, I have gave a brief introduction to CSS and JavaScript frameworks. These frameworks are really powerful, and we can use their advanced technology for our benefit. In the later part of the chapter, I have explained how we can optimize JavaScript to gain performance and why we should load what is needed. Finally, I have discussed the importance of reducing DOM elements.

In the next chapter, I will discuss how to monitor and debug ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required