Creating your website..!! That’s is pretty awesome. Then you should better know that one of the most important considerations of building websites is to make sure that your website load faster.So now the question is what makes your website slow, and what are the things that should be considered while developing your website. And finally how one can analyse how it loads in different devices.Don’t worry in this article I’m going to cover all these points. So let’s start.
What makes your website slow ?
HTTP Request and Response
In the diagram above you can see the conversation between browser and server. If the file is too big, browser has to wait till the file get completely downloaded.
Then What to do ?
- Leverage Browser Caching: Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network. Refer this for more details.
- Optimize Images: Reduce image sizes using either GIF, PNG-8. or JPEG as the file formats. This will help browser to download it faster.
Analyse your Website
Done with the development now it´s important to see how well they are functioning, first. One way to do this is to make use of the Make the Web Faster tools, by Google. This is the one of the awesome tool by Google. You can now run Page Speed Insights to analyse your page speed in Desktop as well as Mobile.