该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

LH CSS Lazy Load

描述

Javascript has a HTML based method for deferring and asynchronously loading files, namely script Defer and script Async. Unfortunately these HTML solutions do not work for CSS files.

But do not worry, this plugin allows you to lazy load yous css files. Thus speeding up your initial view experience for visitors and search engines.

安装

  1. Upload the entire lh-css-lazy-load folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Configure the plugin by adding the CSS handles via Settings->CSS Lazy Load

常见问题

Will this plugin work without javascript?

Yes! As CSS elemets are wrapped in a noscript tag, they will be parsed if javascript is deactivated.

评价

2020 年 4 月 22 日 1 回复
It just disables loading whatever css file you provide its handle, which is indeed a nice feature, but not what I downloaded this plugin for… 😐
2018 年 9 月 6 日
This works well with Autoptimize! You can inline the most necessary and find the least required CSS’s handle and feed it into the Lazy Load CSS. Worth the install and time effort spent on it
阅读所有3条评价

贡献者及开发者

“LH CSS Lazy Load” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“LH CSS Lazy Load”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.00 November 20, 2017
Initial release

1.01 November 27, 2017
Minor bug fix

1.02 June 04, 2018
Added tranlation support