Title: Idea css library wordpress
Last modified: January 28, 2025

---

# Idea css library wordpress

 *  Resolved [Guillermo](https://wordpress.org/support/users/guillermo77/)
 * (@guillermo77)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/idea-css-library-wordpress/)
 * Maybe is possible make one module for reduce the css library:
 * wp-includes/css/dist/block-library/style.min.css?ver=6.7.1
 * Google say me that I use maybe 0.7kb of 15kb.
 * I think the 90% of posts use headers, paragraph, gallery image, list, etc, no
   more
 * If you can match the class in the post with file css, maybe is possible inject
   the style in the post, we can have 100% in google, reduce the block render (important)
   and kb unnecessary
 * Can be good makethis without use one online or pay service, like the image prioritizer.
 * I hope can be possible 🙂
 * Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Weston Ruter](https://wordpress.org/support/users/westonruter/)
 * (@westonruter)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/idea-css-library-wordpress/#post-18270994)
 * I assume you’re using a Classic Theme as opposed to a Block Theme? If so, you
   can opt-in to splitting up that CSS file via the following plugin code:
 *     ```wp-block-code
       add_filter( 'should_load_separate_core_block_assets', '__return_true' );
       ```
   
 * Please see the [introductory block post](https://make.wordpress.org/core/2021/07/01/block-styles-loading-enhancements-in-wordpress-5-8/).
 * For Classic Themes, however, this introduces a risk for a flash of unstyled content
   or that the style rules will apply unexpectedly since some stylesheets will begin
   to be rendered in the footer.
 * Now, is there a possibility we could introduce a Performance Lab plugin for doing
   this automatically, while also ensuring that styles are all loaded in the `HEAD`
   in the expected order. As you suggest, it could operate in a similar way as Image
   Prioritizer. I’ve opened an [issue](https://github.com/WordPress/performance/issues/1834)
   to explore further.
    -  This reply was modified 1 year, 3 months ago by [Weston Ruter](https://wordpress.org/support/users/westonruter/).
 *  Thread Starter [Guillermo](https://wordpress.org/support/users/guillermo77/)
 * (@guillermo77)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/idea-css-library-wordpress/#post-18271065)
 * I use generatepress theme, is faster, but like reduce or eliminate that file!
 * Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Idea css library wordpress’ is closed to new replies.

 * ![](https://ps.w.org/performance-lab/assets/icon.svg?rev=2787149)
 * [Performance Lab](https://wordpress.org/plugins/performance-lab/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/performance-lab/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/performance-lab/)
 * [Active Topics](https://wordpress.org/support/plugin/performance-lab/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/performance-lab/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/performance-lab/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Guillermo](https://wordpress.org/support/users/guillermo77/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/idea-css-library-wordpress/#post-18271065)
 * Status: resolved