Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

LH CSS Lazy Load

Skildring

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.

Installasjon

  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

Vanlege spm.

Will this plugin work without javascript?

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

Omtalar

22. april 2020 1 reply
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… 😐
6. september 2018
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
Les alle 3 omtalar

Bidragsytarar og utviklarar

“LH CSS Lazy Load” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

1.00 November 20, 2017
Initial release

1.01 November 27, 2017
Minor bug fix

1.02 June 04, 2018
Added tranlation support