Decouple WordPress from Google APIs and fonts
-
Morning,
I have been using the Chrome Development console to identify which requests are slowing down loading of both the frontend and backend of WordPress on a server located in China. (You may have heard recent news of an almost complete block of Google services here.)
I was able to disable calls to Google Font APIs using a plugin called Disable Google Fonts, which removed most of the font dependencies in my theme. These are not needed anyway, because the content is in Chinese and primarily uses Chinese web-safe fonts anyway. However, login to the backend still stalls for over 60 seconds as the browser waits for a call to https://www.google.com/jsapi to time out. How can I find where these calls take place in the WordPress base install and either delete them or replace them with China-safe URLs? Is anyone aware of a package I can host myself to replace the functionality in the scripts usually provided by Google?
Thanks!
- The topic ‘Decouple WordPress from Google APIs and fonts’ is closed to new replies.