Cloudflare injects the script https://static.cloudflareinsights.com/beacon.min.js
for Browser Insight
.
Currently, this JS is loaded with defer
attribute, I wonder if this JS could be loaded with async
attribute instead, since JS with async
attribute won’t impact pages loading at all while JS with defer
might have impact on DOMContentLoad
timing.
Also, the URL https://static.cloudflareinsights.com/beacon.min.js
for Browser Insight
has no Cache-Control
header thus it can not be cached by Browser. I wonder if it Cloudflare could make it cacheable for Browser by adding Cache-Control
header.