{"id":52604,"date":"2016-12-08T10:42:14","date_gmt":"2016-12-08T10:42:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/speed-up-optimize-css-delivery\/"},"modified":"2026-07-26T13:09:16","modified_gmt":"2026-07-26T13:09:16","slug":"speed-up-optimize-css-delivery","status":"publish","type":"plugin","link":"https:\/\/hu.wordpress.org\/plugins\/speed-up-optimize-css-delivery\/","author":14443023,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.14","stable_tag":"1.0.14","tested":"7.0.2","requires":"6.0","requires_php":"7.0","requires_plugins":null,"header_name":"Speed Up - Optimize CSS Delivery","header_author":"Simone Nigro","header_description":"","assets_banners_color":"ffffff","last_updated":"2026-07-26 13:09:16","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/paypal.me\/snwp","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/speed-up-optimize-css-delivery\/","header_author_uri":"https:\/\/profiles.wordpress.org\/nigrosimone","rating":5,"author_block_rating":0,"active_installs":600,"downloads":60021,"num_ratings":8,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"nigro.simone","date":"2016-12-13 20:03:54"},"1.0.1":{"tag":"1.0.1","author":"nigro.simone","date":"2016-12-18 13:35:11"},"1.0.10":{"tag":"1.0.10","author":"nigro.simone","date":"2022-01-23 07:30:07"},"1.0.11":{"tag":"1.0.11","author":"nigro.simone","date":"2023-03-05 07:27:52"},"1.0.12":{"tag":"1.0.12","author":"nigro.simone","date":"2026-07-19 05:49:35"},"1.0.13":{"tag":"1.0.13","author":"nigro.simone","date":"2026-07-26 11:58:01"},"1.0.14":{"tag":"1.0.14","author":"nigro.simone","date":"2026-07-26 13:09:16"},"1.0.2":{"tag":"1.0.2","author":"nigro.simone","date":"2017-11-15 21:05:14"},"1.0.3":{"tag":"1.0.3","author":"nigro.simone","date":"2018-01-29 19:53:52"},"1.0.4":{"tag":"1.0.4","author":"nigro.simone","date":"2018-01-29 21:03:16"},"1.0.5":{"tag":"1.0.5","author":"nigro.simone","date":"2019-06-07 21:33:51"},"1.0.6":{"tag":"1.0.6","author":"nigro.simone","date":"2019-11-17 06:58:16"},"1.0.7":{"tag":"1.0.7","author":"nigro.simone","date":"2020-12-07 07:00:59"},"1.0.8":{"tag":"1.0.8","author":"nigro.simone","date":"2020-12-07 07:06:44"},"1.0.9":{"tag":"1.0.9","author":"nigro.simone","date":"2021-03-21 05:29:21"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":8},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":3623335,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3623335,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.14","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[54247,23131,273350,5896,147069],"plugin_category":[54,55],"plugin_contributors":[89838],"plugin_business_model":[],"class_list":["post-52604","plugin","type-plugin","status-publish","hentry","plugin_tags-async-css","plugin_tags-defer-css","plugin_tags-optimize-css-delivery","plugin_tags-page-speed","plugin_tags-render-blocking-css","plugin_category-security-and-spam-protection","plugin_category-seo-and-marketing","plugin_contributors-nigrosimone","plugin_committers-nigrosimone"],"banners":{"banner":"https:\/\/ps.w.org\/speed-up-optimize-css-delivery\/assets\/banner-772x250.jpg?rev=3623335","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/speed-up-optimize-css-delivery\/assets\/icon-128x128.jpg?rev=3623335","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>This plugin is no longer recommended.<\/strong> Deferring every stylesheet makes the page paint before its own layout arrives. That flash of unstyled content is measured as Cumulative Layout Shift \u2014 one of the Core Web Vitals this plugin is meant to improve.<\/p>\n\n<p>The current advice is to inline the CSS needed for the top of the page and defer only the rest, which is more than rewriting a <code>link<\/code> tag can do.<\/p>\n\n<p><strong>If you have not configured the exclusion filter for your main stylesheets, deactivating this plugin will most likely improve your scores rather than worsen them.<\/strong><\/p>\n\n<p>This small plugin (5 Kb) loads the stylesheets asynchronously and improve page load times.<\/p>\n\n<p>The recommended use of this plugin is to load your vital stylesheets synchronously and non-vital CSS files asynchronously. \nNon-vital CSS-files can be for example: fonts, icons, before the fold template-specific CSS, etc.<\/p>\n\n<p>You can choose which files to load synchronously with a filter in your function.php, eg.:<\/p>\n\n<pre><code>\/\/ exclude main and child stylesheets from delivery optimization\nfunction exclude_from_delivery_optimization($handle){\n    return in_array($handle, array('main-stylesheet', 'child-stylesheet'));\n}\nadd_filter('speed-up-optimize-css-delivery', 'exclude_from_delivery_optimization');\n<\/code><\/pre>\n\n<p>Note: this only works if your other plugins and theme add the CSS correctly.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the complete <code>speed-up-optimize-css-delivery<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0.14<\/h4>\n\n<ul>\n<li>Deprecated: deferring every stylesheet causes a flash of unstyled content, measured as Cumulative Layout Shift. A dashboard notice explains the trade-off and when deactivating will improve your scores<\/li>\n<\/ul>\n\n<h4>1.0.13<\/h4>\n\n<ul>\n<li>Fix the media attribute being captured too greedily: an attribute added after it by another filter ended up inside the generated tag<\/li>\n<li>Escape the stylesheet handle and URL before writing them into the tag<\/li>\n<li>Declare minimum requirements: WordPress 6.0 and PHP 7.0<\/li>\n<\/ul>\n\n<h4>1.0.12<\/h4>\n\n<ul>\n<li>Tested up to Wordpress 7.0<\/li>\n<\/ul>\n\n<h4>1.0.11<\/h4>\n\n<ul>\n<li>Tested up to Wordpress 6.0<\/li>\n<\/ul>\n\n<h4>1.0.10<\/h4>\n\n<ul>\n<li>Tested up to Wordpress 5.9<\/li>\n<\/ul>\n\n<h4>1.0.9<\/h4>\n\n<ul>\n<li>Tested up to Wordpress 5.7<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Tested up to Wordpress 5.5<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Tested up to Wordpress 5.5<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Tested up to Wordpress 5.3<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Tested up to Wordpress 5.2<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Fix some css are loaded two time <\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Update loadCSS <\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Tested up to Wordpress 4.9<\/li>\n<li>Update loadCSS <\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Fix bug css not loaded if cached.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"This plugin load the stylesheets asynchronously and improve page load times.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/52604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=52604"}],"author":[{"embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/nigrosimone"}],"wp:attachment":[{"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=52604"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=52604"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=52604"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=52604"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=52604"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/hu.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=52604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}