What does Time To First Byte (TTFB) mean?
Time To First Byte (TTFB) describes the time the web-server needs to deliver the first byte to the client. Time is measured between the point in time where the server receives the http-request until the first byte (the first 8 bit) are received by the client or client browser (depending on the method of measurement).
Note: Measurements should always be taken in a stable environment. Mobile devices do not offer stable data connections and the network stability is no tool to produce representative numbers.
Troubleshooting TTFB first steps:
If you are behind the eCDN and Minification/Compression is turned on
In this case TTFB is not a relevant factor to measure because the method for measuring TTFB on e.g. webpagetest.org is not usable for TTFB behind a Content Delivery Network (CDN) like the embedded CDN used in the B2C Commerce platform because of the compression that is used for the minification. The overall site loading speed will be faster but the TTFB will be longer. For more information, please read this blog post.
Pipeline Profiler
The Pipeline Profiler displays a high-level view of response times per script, such as hits, total time for a page to be generated, and average time. Use the Pipeline Profiler to identify the most expensive pipeline or controllers, and the most expensive component within that pipeline or controller. Drill down into script data within a pipeline or controller to identify expensive scripts running on the storefront.
Note: In addition, pipeline performance can additionally be checked via the Technical Dashboard in Reports & Dashboards. Our general recommendation is an average response time <= 400 ms and a cache hit ratio above 70%. To help with this, please work with your development team and/or integration partner to achieve better numbers and review the material below:
Other troubleshooting
Please walk through First Steps to take when your Salesforce B2C Commerce site is slow to troubleshoot site slowness.
If you did all the troubleshooting above but TTFB is still high:
Please contact Commerce Cloud Support with your findings from the steps above and include the following information so we can investigate:
000391229

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.