Knowledge base

1000 FAQs, 500 tutorials and instructional videos. Here, there are only solutions!

Optimize server response time (TTFB)

Update 04/14/2026

This guide provides suggestions for improvement to reduce the response time of your Infomaniak Web Hosting.

 

Preamble

  • 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 page to be viewed.
  • This delay is particularly important. It can be part of the SEO criteria taken into account by search engines like Google.

 

Suggestions for improving TTFB

To speed up the site and achieve a better TTFB value:

  • Use a content delivery network (CDN).
  • Optimize the site's code.
  • Optimize database queries.
  • Limit HTTP requests.
  • Embed CSS and JavaScript in your HTML pages to avoid calling external resources.
  • Use an RFPL (*Response First, Process Later*) caching system.

Refer to the article from Criticalcase (in English) for more information.

 

Test the server response speed

If you are unsure about the server response speed, you can create an index2.html file that will be saved at the same level as the index.html (or .php) file, and thus 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, this means that the slowness comes from the site and not the server.

 

To go further

Refer to the following resources:


Has this FAQ been helpful?