Knowledge base
1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!
Optimize server response time (TTFB)
This guide provides suggestions for improving and reducing the response time of your Infomaniak Web Hosting.
Introduction
- TTFB, or *Time To First Byte*, is a unit of measurement used to evaluate the response speed of a web server.
- TTFB measures the time between an HTTP request from a user or browser and the receipt of the first byte of the website page being viewed.
- This delay is particularly important. It may be one of the SEO criteria taken into account by search engines such as Google.
Ways to improve TTFB
To speed up your website and improve TTFB (Time To First Byte):
- Use a Content Delivery Network (CDN).
- Optimize the website code.
- Optimize the database queries.
- Limit HTTP requests.
- Embed CSS and JavaScript in your HTML pages to avoid using external resources.
- Use an RFPL (*Response First, Process Later*) caching system.
Refer to the Criticalcase article (in English) for more information.
Test the server response speed
If you have any doubts about the server response speed, you can create an index2.html file, which will be saved at the same level as the index.html (or .php) file. This will allow you to perform an optimization test (e.g., domain.xyz/index2.html) without the main site/CMS being taken into account.
If the response time is normal, it means that the slowdowns are due to the website and not the server.
To learn more
Please refer to the following resources:
Link to this FAQ: https://faq.infomaniak.com/2619
Has this FAQ been helpful?