這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Speed Up – Optimize CSS Delivery

描述

This small plugin (5 Kb) loads the stylesheets asynchronously and improve page load times.

The recommended use of this plugin is to load your vital stylesheets synchronously and non-vital CSS files asynchronously.
Non-vital CSS-files can be for example: fonts, icons, before the fold template-specific CSS, etc.

You can choose which files to load synchronously with a filter in your function.php, eg.:

// exclude main and child stylesheets from delivery optimization
function exclude_from_delivery_optimization($handle){
    return in_array($handle, array('main-stylesheet', 'child-stylesheet'));
}
add_filter('speed-up-optimize-css-delivery', 'exclude_from_delivery_optimization');

Note: this only works if your other plugins and theme add the CSS correctly.

安裝

  1. Upload the complete speed-up-optimize-css-delivery folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

評價

2022年7月15日
This plug-in is a blessing This plug-in is the best! We have to give a big prize to the person who created this plug-in. Thank you very much.
2022年3月25日
Does what it says on the tin, which Google pagespeed likes a lot.
2020年6月24日 1 reply
THIS PLUGIN IS THE BEST PLUGIN I’VE EVER SEEN IN WORDPRESS. I had page load speeds around 3 to 5 seconds, but after I installed and activated this plugin, it dropped to 1.5 seconds. I was like “Bruh, is this for real? I have been trying to speed up my page for days, and it took only 1 plugin? Woah.” I appreciate the work.
2018年2月1日
This is great plugin! By use this plugin is possible to get green level into Google Page Speed Insight without using any cache plugin. Off course javascripts have to be loaded asynchronously and (or) defer.
閱讀全部8個評價

貢獻者及開發者

“Speed Up – Optimize CSS Delivery” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

修改日誌

1.0.11

  • Tested up to WordPress 6.0

1.0.10

  • Tested up to WordPress 5.9

1.0.9

  • Tested up to WordPress 5.7

1.0.8

  • Tested up to WordPress 5.5

1.0.7

  • Tested up to WordPress 5.5

1.0.6

  • Tested up to WordPress 5.3

1.0.5

  • Tested up to WordPress 5.2

1.0.4

  • Fix some css are loaded two time

1.0.3

  • Update loadCSS

1.0.2

  • Tested up to WordPress 4.9
  • Update loadCSS

1.0.1

  • Fix bug css not loaded if cached.

1.0.0

  • Initial release.