DEV Community

Discussion on: Optimizing images for the web - an in-depth guide

uploadcare profile image

Awesome guide! We can add one more thing that will also help your website much faster. Try to disable hotlinking to images. Hotlinking takes place when some third-party websites display an image from your website using the web link of the image hosted on your server.

The weblink of the image will directly point to your web server and make use of your web server to host resources on their website. It puts an extra burden on the server, slowing down its overall performance.

Hotlinking should be disabled so that your server works only for your site. This will make the response time faster, which automatically results in faster loading on the clients’ end. To avoid hotlinking, you need to set correct HTTP headers for your images.

You can find more tips in this post: