Book Image

Mobile Web Performance Optimization

By : S. S. Niranga
Book Image

Mobile Web Performance Optimization

By: S. S. Niranga

Overview of this book

With users increasingly accessing the web on mobile devices, it’s crucial to make sure your website is built to seamlessly fit this radical change in user behavior. Mobile Web Performance Optimization is designed to help you do exactly that – it’s been created to help you build fast, and mobile-user-friendly websites and applications. Featuring guidance through a range of techniques and tools essential to modern mobile development, this accessible guide will make sure you’re delivering a seamless and intuitive experience for your website’s users. Begin by exploring the fundamental components of mobile web design and website optimization, before learning how to put the concepts into practice. Featuring cross-platform solutions, insights on developing lightweight yet robust UI, and insights on how to successfully manage data, this application development book takes you through every stage in the development process – so you can be confident that you’re asking the right questions and using the best tools in the most effective way. By the end, you’ll understand implicitly what it means to ‘build for performance’- you’ll be a more confident developer, capable of building projects that adapt to a changing world.
Table of Contents (14 chapters)
Mobile Web Performance Optimization
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Iconic fonts


In earlier days, frontend developers used raster files such as PNGs or JPGs when they needed to add an icon to a page. However, because of responsive web development, different mobile screen sizes, and retina display nowadays, it's hard to predict the screen size and as a result, the raster files appear pixelated. To prevent this issue, developers have to create multiple images to cater to different screen sizes, which has created a performance issue.

Luckily, using iconic fonts we can prevent many of the issues just mentioned, and it's much easier to use. Iconic fonts are just fonts that contain symbols and glyphs, and the developer can style them the same as regular text using CSS.

As well as this, using iconic fonts offers many benefits to us over raster files, and I have listed some of them here:

  • Developers can easily apply any CSS property to iconic fonts, which gives total control to the developer

  • Font icons are vectors, and because of that we can increase or decrease the...