Optimize your website to load faster at Hostinger by checking for server maintenance, choosing a server close to your audience, keeping resource usage within your plan’s limits, enabling caching, and optimizing your website and database. Aim for a page load time under two seconds, since visitors are more likely to abandon slower pages.
There are six common causes of a slow website:
Server maintenance
At Hostinger, we perform regular server maintenance to improve and upgrade our servers, which in some cases, might affect your website’s speed temporarily.
In case your website is suddenly slowed down, check first if there is any ongoing maintenance. If that is the case, you don’t need to do anything – give it a little time until maintenance is over and your website speed will return to normal.
Physical distance between you and the server
As the distance between you and the server where the website is hosted grows larger, you may expect a longer response time. To solve this, analyze where is your target audience located and choose a server closer to them. You can use our server transfer tool for that. If your own download or upload speed to the server is slow, see How to improve your hosting’s download or upload speed.
If you still want to improve loading time, or your website is oriented to several locations, you can set up a CDN for your website. It works by keeping multiple copies of your website’s data in proxy servers worldwide, thus improving your website speed for visitors, no matter their physical location.
Exceeded resource usage
If the resource usage of your website is high, it will perform slower until the usage decreases. We recommend checking your usage frequently. If it’s constantly high, refer to this article for solutions: Resource Usage shows that hosting plan limits were reached. To see which requests reach your website, check Access logs in the Traffic section of your hosting dashboard. If many of those requests come from your own hosting IP address, follow How to identify and fix loopback requests at Hostinger. Reaching your plan’s resource limits can also cause a 503 error. To get extra resources for 24 hours, boost your hosting plan.
Lack of caching system
Web caching stores frequently accessed data in a server for future reusing, improving speed as it does not need to load all the content every time. A CDN has some caching features that you can take advantage of.
For best results, we recommend leveraging browser cache and, for WordPress websites, using a plugin such as LiteSpeed Cache. For PrestaShop websites, set up PrestaShop with LiteSpeed Cache.
Poor website optimization
Website optimization is one of the most crucial aspects of your website’s speed. You can analyze your website directly through your panel by using the Page Speed feature. For WordPress websites, use AI Website optimizations in Hostinger dashboard to apply speed settings automatically, or follow How to speed up a WordPress site at Hostinger.
You can also use external tools for this purpose, such as:
-
GTmetrix – check out our guide on how to use GTmetrix
Poor database optimization
Database optimization can improve the performance and efficiency of a database by minimizing the amount of time and resources required. Some general database optimization recommendations include:
-
Using indexes on frequently queried columns
-
Optimizing queries to retrieve only the necessary data
-
Avoiding duplicate data
-
Applying regular database maintenance
You can also consider further database query optimization practices, such as ensuring only the essential data is queried, limiting the query results, avoiding the use of wildcard characters in queries, and using proper data types.
Since this can be a complex topic, you may require the assistance of a developer before proceeding. You should also take into consideration that some actions may not be available for Web or Cloud plans due to security limitations on database and server privileges.
If you have a VPS plan, you can also consider using specialized tools like EverSQL.
Once your website loads faster, visitors are less likely to leave, and you can focus on helping new visitors find it by making your website appear on search results.
Additional resources