1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Resolve errors related to site overload; optimize the site
This guide explains how to optimize the site you manage on a Web Hosting to make it faster and allow all visitors to browse it from the Internet without difficulty, regardless of their connection speed.
⚠️ For additional help contact a partner or launch a free tender — also discover the role of the host.
The role of the hoster
The loading speed of a website depends on many factors (server performance, host's network infrastructure, visitor's Internet connection, website optimization, etc.).
As a hosting provider, Infomaniak strives to offer the best in hosting and continually evolves its products and infrastructure:
- All hosting solutions run on the latest generation SSD drives.
- The infrastructure benefits from more than 70 Gbit/s of interconnection and redundancy with Cogent, Level3, etc.
- To handle traffic spikes without issue, the servers run on Intel Xeon 64-bit processors, which are regularly replaced, and the shared/mutualized servers use only 40% of their CPU power on average.
Moreover, when you submit a support request regarding slowness, Infomaniak analyzes whether…
- … your hosting server is functioning normally and has not encountered any issues in the last 48 hours.
- … the network infrastructure has not experienced any disruptions in the last 48 hours.
The role of the site owner and the webmaster
Infomaniak does not intervene in the content of the servers or the development of websites. The creation or maintenance of a site is a different profession, although it is related to its activities since the tools and services that a webmaster uses to create websites are offered.
Analyzing the cause of slowdowns
Here is what you should do if you notice slowness with your site:
- Follow the Google PageSpeed Insights recommendations to optimize your website... The points highlighted concern the design of the website and not the server configuration; refer to this other guide if the test result suggests enabling resource compression on your site.
- In case of slowness from abroad, consider activating DNS Fast Anycast.
- Install and configure a cache system on your site to avoid redundant access to databases and speed up the display of your site.
- Consider a CDN.
- Test the response speed of the server (TTFB).
- Scan your hosting for viruses.
- Purge the databases regularly and delete unnecessary entries.
- Use the latest PHP version compatible with your site/CMS/Web application.
- Avoid using images, counters, CGI, or media hosted by external providers, as if they are unreachable, your site will seem slow.
- Disable any unnecessary WordPress extensions that consume a lot of resources in your CMS.
- Keep your CMS/Web applications up to date regularly.
- Implement a crawl delay for indexing bots, as some have a very "aggressive" operation; it is possible to limit their impact by implementing a Crawl-delay.
- Check the possible error-logs which group all the errors generated by your site; by correcting these errors, your site will be more performant.
- Check the slowlogs: they group the queries that take more than 5 seconds to execute; it is important to correct the queries listed in this file (SQL optimization examples).
- Add a server cache system like Memcached (Cloud server only).
- Increase the max_children value (Cloud server only).
If a problem persists...
As a site owner, if you are a webmaster or have hired a webmaster who also cannot find the cause of the slowdowns, contact Infomaniak support in writing only after obtaining the following information:
- Hosted site name.
- Dates and times when the slowdowns were encountered.
- Name of the potentially affected database / same for FTP account.
- Your public IP address at the time of the tests (visible for example on https://www.infomaniak.com/ip).
- Type of slowness observed (site display, FTP transfers...).
- Issues (such as slowness) accessing the Infomaniak site intermittently?
- Result of a traceroute to
84.16.66.66
and copy-paste the complete results (screenshot if necessary). - Result of a speedtest by choosing Infomaniak as the destination (speedtest.net — click on Change Server to select Infomaniak).
If your needs skyrocket…
If shared hosting no longer suits your site, you should consider moving to a Cloud Server. Your site can be easily moved to this type of server where it will be alone and on which you can install a cache engine, for example.