In a performance analysis of edx.org (https://gtmetrix.com/reports/www.edx.org/masAP58b) it was noticed that we are making multiple calls to load fonts
Serve resources from a consistent URL
The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 11.9KiB.
I believe this is due to us loading fonts from both css(https://github.com/edx/edx-mktg/blob/c5d728a4d7134ebd66e9e016c8e7de11da807923/docroot/sites/all/themes/atedx/scripts/react/components/site_header/SiteHeader.jsx#L96-L100) and from (https://github.com/edx/edx-mktg/blob/c5d728a4d7134ebd66e9e016c8e7de11da807923/docroot/sites/all/themes/adaptivetheme/at_core/inc/fonts.inc)
Steps to Reproduce
Run a performance scan on edx.org at https://gtmetrix.com/reports/www.edx.org/masAP58b
Calling to google api twice
Call only once or have a consistent url
noticed this had a hiccup with releasing to npm, is that still a blocker here? I saw the original PR was merged and the devops ticket closed, unsure if there is additional support that is needed on this one?
I should have added a task, we decided to update the travis file so we don't have to manually update NPM every time. https://github.com/edx/edx-bootstrap/pull/31 is the PR link. I got a reply on it, so it won't be blocked anymore. Thank you
Got it - thanks for the context!