1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Solve errors related to an overload of the site; 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 navigate from the Internet without difficulty, regardless of their speed of connection.
⚠For additional assistance contact a partner or launch a call for tenders free of charge — discover also the role of the host.
The role of the host
The speed of loading a website depends on many factors (server performance, host network infrastructure, visitor Internet connection, website optimization, etc.).
As a host, Infomaniak strives to offer the best in terms of accommodation and constantly evolves its products and infrastructure:
- All hostings work on state-of-the-art SSD drives.
- The infrastructure benefits from more than 70 Gbit/s interconnection and redundancy with Cogent, Level3, etc.
- In order to easily absorb peak traffic, servers run with 64-bit Intel Xeon processors, which are replaced regularly and shared/mutualized servers use on average only 40% of their CPU power.
In addition, when you submit a request for support regarding delays, Infomaniak analyses whether or not...
- ... your hosting server works normally and has not encountered any problems in the last 48 hours.
- ...the network infrastructure has not encountered any disruptions during the last 48 hours.
The role of the site holder and webmaster
Infomaniak does not interfere with server content or website development. The creation or maintenance of a site is a different business, although it is linked to its activities as the tools and services that a webmaster uses to create websites are offered.
Analyze the cause of slowness
So here's what it's up to you to do if you notice any delays with your site:
- Follow them Google recommendations PageSpeed Insights in order to optimize your website... The points raised concern the design of the website and not the configuration of the server. this other guide if the test result invites you to allow the compression of resources on your site.
- In case of delays from abroad, consider the activation of DNS Fast Anycast.
- Install and configure a cache system on your site in order to avoid redundant access to databases and to speed up the display of your site.
- Consider a CDN.
- Test it response speed the server (TTFB).
- Scan your accommodation looking for viruses.
- Purging regular databases and remove unnecessary entries.
- Use the last one PHP version compatible with your website/CMS/web application.
- Avoid the use of images, meters, CGI or media hosted on external providers, as if they are unreachable, your site will appear slow.
- Disable any WordPress extensions which consumes a lot of resources in your CMS.
- Update and maintain CMS/web applications on a regular basis.
- Set up a navigation time for indexing bots, because some have a very "aggressive" operation; it is possible to limit their impact by setting up a Crawl-delay.
- Consult with potential candidates error-logs which gather all the errors generated by your site; by correcting these errors, your site will be more efficient.
- Consult with potential candidates slowlogs: they group requests that take more than 5 seconds to run; it is important to correct the requests listed in this file (SQL optimization examples).
- Add a server cache system like Memcached (Cloud server only).
- Increase it max_children value (Cloud server only).
If a problem persists...
As a site holder, if you are a webmaster or have hired a webmaster who also does not find the origin of the slowness, contact Infomaniak support in writing only after obtaining the following information:
- Name of the hosted site.
- Dates and hours of the slowness encountered.
- Name of the database, if any, concerned / idem for FTP account.
- Your public IP address at the time of testing (visible e.g. on https://www.infomaniak.com/ip).
- Type of slowness observed (site display, FTP transfers, etc.).
- Problems (e.g. slowness) to access theInfomaniak websiteintermittently?
- Result of atracerouteto
84.16.66.66
and copy the complete results (screenshotif necessary). - The result of a speedtest by choosing Infomaniak as the destination (speedtest.net— click on Change server to select Infomaniak).
If your needs explode...
If the shared hosting is no longer suitable for your site, consider the possible transition to a shared hosting site. Cloud Server Your site may simply be moved to this type of server where it will be alone and on which you can install a cache engine e.g..