Major bug in Adobe fonts implementation
-
There is a major bug with the way Complianz handles the Adobe Fonts integration.
Jarnovos mentioned in an earlier thread that all that Complianz does relating to Adobe fonts is ‘block’ the CSS from loading by changing the stylesheet to:
<link data-service="adobe-fonts" data-category="marketing" rel="stylesheet" id="custom-typekit-css-css" href="#" data-href="https://use.typekit.net/filename.css" media="all">This is a gigantic error by Complianz! This does not ‘block’ the stylesheet from loading; it tells the browser there is a stylesheet located at the URL ‘#’, and that it should download it from there.
# is a valid URL – it’s a relative URL, taking the URL currently being viewed and appending # to it.
Therefore, after the page is loaded, the browser redownloads the entire page at https://www.mysite.com/# , and tries to interpret it as a stylesheet.
This results in doubling the load time of the page.
See https://ww.wp.xz.cn/support/topic/significant-slow-down-with-adobe-type-kit/ for earlier thread where someone had exactly the same issue as I’m having, including seeing the page load time doubled; there the ‘official’ solution was that it wasn’t an error on Complianz site, but that’s definitely not the case.
Can you please fix this bug – code should *never* use
<link rel="stylesheet" href="#" />; this is simply a mistake.
The topic ‘Major bug in Adobe fonts implementation’ is closed to new replies.