[Feature Request] Implement functionality to Remove Unused CSS the same way Perfmatters and Flyingpress do #28052
jazir555
started this conversation in
Feature Request
Replies: 1 comment
|
There's also Debloat if you want to examine a free plugin with the Remove Unused CSS feature on the Wordpress.org repo: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Prerequisites
What problem is your feature request going to solve? Please describe..
Elementor's CSS is very bloated and unused CSS is loaded on every page, regardless of if the CSS performance optimization experiment is activated or not. An optimization plugin with a Remove Unused CSS feature is a must to be able to fix Elementor's poor CSS performance by removing Unused CSS.
Describe the solution you'd like.
Implementing a native solution to fully remove unused CSS to fix performance issues so an optimization plugin with that functionality is not required.
E.g.
https://perfmatters.io/docs/remove-unused-css/
https://docs.flyingpress.com/en/article/remove-unused-css-1wbla1k/
Describe alternatives you've considered.
Using Perfmatters or Flyingpress.
Additional context
Unused CSS should be able to be programmatically/automatically removed to only use the exact CSS necessary on a page so as to prevent performance impacts from Unused CSS Implemented directly into Elementor. A third party plugin for this should not be required. Activating the Remove Unused CSS functionality in either plugin immediately resolves the issue. This can be demonstrated by activating the feature in Perfmatters or Flyingpress on any Elementor site as performance scores and load time instantaneously improve after the feature has been activated, and the Remove Unused CSS warning in Pagespeed Insights and Lighthouse disappears.
Agreement
All reactions