-
Notifications
You must be signed in to change notification settings - Fork 879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve performance - wp admin ***/analysis.js = 450kb*** #14778
Comments
@Djennez thanks, just to follow up if there is any reply to my ticket or discussion. Have no idea how Yoast effectively can need and use 450kb javascript in wp admin/edit? |
Any feedback on this? Just see here from your competition: In this major-minor update, we improved browser performance by up to 99% (not a typo) by exchanging over 300 jQuery calls for vanilla JS ones. We also added two new options for oEmbed, freed a dozen bugs that got stuck in the UI and generators, and improved accessibility. Performance:
|
I believe 14.2 has introduced some changes that should have lowered the impact of these files somewhat. |
Only db and sql related not releated to static assets. |
I meant 15.2, but the changes are in 15.1 and 2 I believe. Several resources have been split into separate files. |
Not much of a difference you still run huge scripts for a reaosn I don't understand. If i don't need Yoast to scan content etc I could most probably cut 95% of all scripts used. |
Facing the same problem, but for me the analysis.js file size is 750KB and adds 650msec to site load time |
Is your feature request related to a problem? Please describe.
Found out that the analysis script loaded in the editor and wp-admin is 450kb. It’s huge, and for reasons take time to load slowing down wp-admin.
Today there are many competitors to Yoast having a much slimmer framework. Please consider improving the performance as well. I wish to stay with Yoast.
450kb
/wp-content/plugins/wordpress-seo/js/dist/analysis-1341.js?ver=13.4.1
197kb
/wp-content/plugins/wordpress-seo/js/dist/components-140.js
Yoast also loads a lot of ofter scripts with a total footprint of +550KB.
I don’t know what all scripts are doing and needed but I assure it can be optimized. Sounds to me some things don’t need to load if features as content analysis etc is disabled.
Does the wp-seo-structured-data-block-1341.js need to load if not used? Even if Yoast Gutenberg block is not defined as an allowed_block with the filter?
add_filter( 'allowed_block_types', 'custom_allowed_block_types' );
As I see there is a lot of room for improvements to not bloat wp-admin and to slim the code down for users to unload assets that aren’t enabled/used.
Describe the solution you'd like
By disabling Yoast wp-admin page edit loading time dropped down 2.4seconds, worthy o mention how big footprint Yoast has on wp-admin.
Running a stable tuned server so the host and server is not a problem here, just want to make that clear and that I want to keep using Yoast, but performance and backend and keep on getting slower and never considered a cleanup and “slimup”.
Maybe code-splitting instead of loading high chunks of 450kb js would be a great idea. What is even in all those lines of javascript? I can't imagine how a seo plugin could need that much js to be loaded to do what is necessary on edit and publish a page. But explain to me if I'm missing something.
As far as I know, not even Gutenberg needs that much js.
Why do you think this feature is something we should consider for the Yoast SEO plugins?
Ther are other SEO plugins for Wordpress doing a great job with more features with less impact of wp-admin performance and smaller footprint.
Read below, it's great but it's targeting server-side related improves. I'm targeting wp admin and files here.
https://developer.yoast.com/upcoming-release-yoast-seo-14-0-indexables/
The text was updated successfully, but these errors were encountered: