All Collections
Website
CDN
Hostinger CDN: Website Optimization
Hostinger CDN: Website Optimization

Enhancing your website's performance with the help of Hostinger CDN

Updated over a week ago

What Is a CDN?

A content delivery network (CDN) is a geographically distributed network of proxy servers. Benefits include high availability, performance by serving your website from the nearest and fastest servers to end users, and resilience against DDoS attacks.

You can find out more about it in the following video:

How to Use Hostinger CDN

At Hostinger, if you have a Web Business or greater hosting plan, you can easily enable Hostinger CDN - it comes with a variety of tools that you can employ to optimize your website. Just go to the Websites section on hPanel and click on Manage next to the website in question. Then, search for CDN:

The CDN option in the hosting dashboard

If it is not enabled, enable it:

The view when Hostinger CDN is enabled

It can take a few hours for your website to replicate through the network.

Access more settings by clicking on the arrow (❯) button:

Now, explore the CDN features and make your website work as smoothly as possible!

It is recommended to have only one CDN enabled at a time - If you're currently using a different CDN, such as Cloudflare, make sure to disable it before activating Hostinger CDN 💡

WebP Image Compression

WebP is a modern image format that provides superior lossless and lossy compression for images on the web. On average, this image format achieves 30% more compression than JPEG and JPEG 2000 without loss of image quality.

If you enable this feature, the images on your website are automatically optimized into an efficient WebP format to reduce file size and improve load times without any URL changes. It is enabled by default, you can disable it by toggling the button next to WebP image compression:

The option to automatically optimize images to WebP format

You can enable or disable this feature at any time.

Minify CSS Files

CSS stands for Cascading Style Sheets and is a language that defines the visual appearance and layout of web pages.

CSS minification is the process of reducing the file size of CSS code by removing unnecessary characters and spaces without altering its functionality. To enable this feature, toggle the button next to Minify CSS files:

The option to minify website's CSS files

In general, the primary goal of CSS modification is to optimize the performance of web pages by reducing the amount of data that needs to be transferred from the server to the browser. Therefore, it's a great approach to improve your website's performance.

Minify JavaScript Files

JavaScript is a programming language that adds interactivity and dynamic functionality to websites. It allows developers to create interactive elements, manipulate and modify web page content, and respond to user actions, making websites more engaging and responsive.


Minifying JavaScript files is the process of reducing the file size of JavaScript code by removing unnecessary characters, spaces, and comments without changing its functionality. The goal of JavaScript minification is similar to CSS minification, which is to optimize website performance by reducing the amount of data that needs to be transmitted and improving loading times. The minified file version provides the same functionality while reducing the bandwidth of network requests. To enable this feature, toggle the button next to Minify JavaScript files:

The option to minify website's JavaScript files

The more code there is in a file, the larger it is and the longer it takes to load. Therefore, it's important to minify CSS and JavaScript files so that your web pages can load faster.

Smart Image Optimization

This feature determines the maximum image width and image quality for both desktop and mobile devices. You may customize these settings manually anytime.

This feature is enabled for you by default, but you can easily disable it by toggling the button next to Smart image optimization:

The option to automatically resize and compress images for desktop and mobile devices

You can learn more about optimization by checking this tutorial: Complete Guide to Image Optimization for Better Website Performance 💡

NOTE

  • In case your current plan does not include Hostinger CDN and you are interested in this feature, you can consider upgrading your plan

Did this answer your question?