The slowness on your website can be caused by several factors, in most cases, it is the lack of a cache system, bad optimization of queries (queries that your site makes to the database), images size (which makes your site takes longer to load), as well as disabled gzip compression, not minified JS / CSS files and many other reasons.
There are two handy free tools, to tell how optimized your website is, are GTmetrix and Google PageSpeed Insights. In GTmetrix there is also the possibility to create an account to test your site in different locations, devices, or bandwidth, here is a guide about how to use GTmetrix.
The cache stores files on the client's machine, which makes your next access faster because it won't need to download files from the server again. If your site is in Wordpress, you can use the Litespeed cache plugin. All our Shared and Cloud hosting services are hosted under the latest technology from Litespeed.
Alternatively, you can add these rules in your .htaccess file, like this:
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
More information can be found on the Leveraging browser cache guide.
This subject is a little more delicate, it requires you to "get your hands dirty" in your website queries and optimize how queries are made, seeking only the essential data or limiting the query results. There are tools that help in this matter, like EverSQL as well as help forums, here is a very important and explanatory topic about this.
- SQL Management is only available on VPS plans.
The optimization of images can be done by an online tool or by using a local image editor. If you use WordPress, you can use the WP Smush plugin. Also, here is a guide to help you to serve scaled images as well as this guide on how to use progressive JPEG images or by following this guide if you use WordPress.
In addition, it is highly recommended to use a CDN (Content Delivery Network), f.e. Cloudflare. As a Content Delivery Network, it will store your files on several servers around the world, allowing your user to access these copy files instead of accessing the content of your website itself. This helps as DDoS protection as well as a cache system for your website.