© giacholari

Improve site speed

1 week ago by giacholari

When in production, there a few things that you could do, to enhance a website's speed. First and foremost, make sure that CSS and JavaScript is minified and compressed. In addition to that, it would be great if you could cache static content such as those I mentioned before, using a CDN or any other way that suits your requirements. Next, ensure that images are also compressed and served at their intended dimensions. There is no need to upload a website in its full size unless required. As for the dimensions of an image, I have seen a lot of website folks serve them at whatever size their given. Again, save your visitors those extra seconds by resizing them to match your content dimensions. Another tip to consider, is to defer the execution of JavaScript by specifying the defer attribute in a script. Obviously you could do more than that. There is a great free website that you can use to scan your own site and get recommendations. The service is called Gtmetrix and you can visit the site by following this link https://gtmetrix.com