Changelog
Cloudflare occasionally updates the beacon.min.js
file to improve Web Analytics functionality. The table below includes a log of what changed in the beacon.min.js
file and when.
Reports additional LCP diagnostic information using web-vitals library's attribution build.
Updated Google's web-vitals library (version 3.1.1) and removed experimental server-timing
header.
Updated to report new metrics such as time to first byte (TTFB), interaction to next paint (INP), and first contentful paint (FCP). Additionally, it reports navigator.webdriver
, server-timing
header (experimental), and protocol info (nextHopProtocol
).
When using the automatic installation feature of the JavaScript Beacon (available only to customers proxied through Cloudflare - also known as orange-clouded customers), Subresource Integrity (SRI) is now enabled by default. SRI is a security feature that enables browsers to verify that resources they fetch are delivered without unexpected manipulation.
startsWith
function replaced with indexOf
function, which prevents rendering if multiple beacon scripts are loaded.
Reporting endpoint changed from /cdn-cgi/beacon/performance
to /cdn-cgi/rum
(for Browser Insights only).