Edge Security Acceleration (ESA) page monitoring feature collects data from real users accessing websites on PC and mobile devices by integrating JavaScript, either automatically or manually. It tracks key performance metrics in real time, analyzes HTML pages, and provides green, yellow, or red performance grades.
Performance metrics
ESA page monitoring collects the following client data to assess performance:
CLS (Cumulative Layout Shift): Measures visual stability by detecting unexpected content shifts during loading.
FCP (First Contentful Paint): Records when the page first displays content, showing how quickly users see something load.
FID (First Input Delay): Measures the delay between a user’s first interaction (such as a click) and the browser’s response, reflecting interactivity.
LCP (Largest Contentful Paint): Records when the main content (like large images or text blocks) finishes loading, indicating perceived loading speed.
TTFB (Time to First Byte): Measures the time from a user’s request to the moment the browser receives the first byte, reflecting server response time.
INP (Interaction to Next Paint): Measures the responsiveness of user interactions throughout the page lifecycle, offering a comprehensive view of interaction performance.
Before you begin
The feature currently only supports collecting and analysing data from pages with
content-typeoftext/html. If you configure a page address that is nottext/htmlor the page has no traffic, no monitoring data will be available.Data collected from users outside the Chinese mainland will be sent to Singapore. The collected data only includes some network metrics. ESA does not collect or store any user privacy information.
Setup
In the ESA console, choose Websites and click the name of the website you want to manage.
In the left-side navigation pane, click .
In the Page Monitoring area, click Add Monitoring.

SDK integration methods
To enable page monitoring, integrate JavaScript scripts for data collection in HTML pages. There are two methods:
Automatic integration (recommended): ESA automatically inserts a JavaScript into the HTML response of the origin. This script does not affect page content.
Manual integration: Integrate the JavaScript link below into the HTML pages to be monitored.
<script src="https://rjsperf.myalicdn.com/sdk.js"></script>
Monitoring grading
ESA uses different grading colors to represent performance conditions:
Green: excellent
Yellow: average
Red: poor
Many factors affect monitoring data. For example, client network conditions, ESA acceleration performance, and website rendering methods. If you need to test the ESA acceleration more accurately, use Alibaba Cloud Application Real-time Monitoring Service (ARMS) or other synthetic monitoring tools.
The table lists the grading ranges for each metric:
Metric | Green | Yellow | Red |
TTFB | <0.8 s | 0.8-1.8 s | >1.8 s |
FCP | <1.8 s | 1.8-3 s | >3 s |
LCP | <2.5 s | 2.5-4 s | >4 s |
CLS | <0.1 | 0.1-0.25 | >0.25 |
INP | <200 ms | 200-500 ms | >500 ms |
FID | <130 ms | 130-250 ms | >250 ms |
Availability
Page Monitoring | Entrance | Pro | Premium | Enterprise |
Number of page monitoring entries supported | 1 | 3 | 5 | 10 |