Unnecessarily loading Gutenberg editor assets on frontend
-
This plugin is for somehow and for some reason loading the back end gutenberg editor scripts/styles on the front end, causing pretty severe pagespeed score reductions.
Here are some stats for a page without any charts on it:
125 requests 22.42 MB / 21.53 MB transferred Finish: 3.16 s DOMContentLoaded: 1.62 s load: 2.71 s
After disabling the plugin:
76 requests 13.39 MB / 12.51 MB transferred Finish: 2.31 s DOMContentLoaded: 882 ms load: 1.88 s
I believe it has something to do with including backend editor assets because, for instance, it is causing a call to https://{{website}}/wp-json/wp/v2/users/me?context=edit&_locale=user on every page, which results in a 401 error.
- The topic ‘Unnecessarily loading Gutenberg editor assets on frontend’ is closed to new replies.