Add cache-control header and use async for Browser Insight JS

Cloudflare injects the script 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 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.


This topic was automatically closed after 14 days. New replies are no longer allowed.