Site performance is a very important aspect of a site as it impacts the user experience and how search engines rank our site.
A website has to be very responsive even on slow networks like 3G and 4G's. 0.1 seconds is regarded as the expected reaction time of UI for a person. 1 second is the maximum amount of time that a person's flow of taught will remain uninterrupted. A lot of mobile users don't understand the difference between native mobile apps and web sites that are mobile responsive. They expect that a web responsive website is as reactive as a native mobile app.
Google uses speed load performance as a measure to determine the quality of the website. Sites that are mobile responsive and are efficient to load on a slow network rank higher in Google search results.
There are multiple approaches you can use to increase the performance of a website.
1. Improve the infrastructure you use to host the site. This will require a review of the hosting platform to increase processing power. The disadvantage of such an approach is that this will increase costs.
2. Review the software stack used to build your site and review a list of possible changes to improve performance. The disadvantage of such an approach is that it requires software development skills also there is a risk that your site might get unstable due to bugs introduced during the development of code optimization.
The simplest approach to optimize a site is to reduce the number of calls the browser makes to our web server. This can be accomplished by using a CDN service.
CDN stands for a Content Delivery Service. A CDN consists of a collection of servers that are distributed around the globe. Once you enable this service for your site a cache of all your static content will be copied to all these servers around the globe. This means that when a user will browse your site all the static content referenced in your site will be downloaded from the server closest to the user. This makes our site more responsive to the user as the static content will load much faster.
Another advantage of a CDN is that the amount of load to your server will be reduced as static content is downloaded from the CDN servers. This will result in your server be more performant as it is handling fewer requests and less bandwidth being used. This will ultimately result in cheaps web hosting as less bandwidth and less processing power is used.
Apart from performance, a CDN provides a lot of advantages.
The main advantage of being security. A CDN can detect if your site is under a DDOS attack and can force a client to acknowledge a challenge.