Este plugin não foi testado com os 3 lançamentos principais mais recentes do WordPress. Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Eliminate Render Blocking CSS

Descrição

eliminate-render-blocking-css.com provides an API for extracting the
critical path css from your site. This plugin inlines the results for every page
in your header section and deferres the loading of the rest of the styles.

You have to create a free account,
to be be able to use this plugin. Generation of critical path css is always free
for your front-page.

Some Features:

  • Eliminate render-blocking CSS on your front-page. Use a premium account to
    include critical CSS for all your pages and both desktop and mobile
    devices.
  • Unobstrusive generating and loading of the critcal css, falling back to your
    common CSS, when the service shouldn’t be available
  • Automated deferred CSS loading, when you are using the standard WordPress
    style loaders (wp_register_style and wp_enqueue_style)
  • Following Googles recommendations on loading critical CSS to 100%
  • Critical CSS caching, both in your sites transients and on
    eliminate-render-blocking-css.com
  • Background cache refreshing. One time cached, your site always gets a cached
    version, silently refreshed, when the caching interval ends

Capturas de tela

  • Settings for API-key, secret and additional CSS.
  • Inlined critical CSS in your HTML-template
  • Deferred styles loading according to Googles recommendations

Instalação

  1. Create a free account on eliminate-render-blocking-css.com
  2. Upload the plugin files to the /wp-content/plugins/eliminate-render-blocking-css directory, or install the plugin through the WordPress plugins screen directly.
  3. Activate the plugin through the ‘Plugins’ screen in WordPress
  4. Use the Settings->Eliminate render-blocking CSS screen to configure the plugin with API key and secret

Perguntas frequentes

How do you generate the critical CSS

To generate the critical CSS we use the awesome “critical” npm module
by Addy Osmani. The Eliminate render-blocking CSS service takes care of generating
the critical CSS for all of your pages and different screen sizes, plus caching
and delivering the above the fold styling in an efficient way.

What if the generated critical CSS isn’t working for my page

Sometimes the generated CSS is not covering 100% of your above the fold content.
That can be caused of lazy-loading elements, fading transitions, odd
device-sizes etc. To perfectly adjust the inlined CSS to your needs you can use
the “Additional CSS” text area on the settings page. All CSS you include there
will be added to the generated critical styles.

How do I use the premium service

Just head over to eliminate-render-blocking-css.com and upgrade your account.

Avaliações

30 abril, 2017
[Moderator note: language removed from title. Please do not use that language in the forums.] Need API but no way to get api. They just taking your email address
Leia todas as 2 avaliações

Colaboradores e desenvolvedores

“Eliminate Render Blocking CSS” é um programa de código aberto. As seguintes pessoas contribuíram para este plugin.

Colaboradores

Eliminate Render Blocking CSS” foi traduzido para 1 localidade. Agradecemos aos tradutores por suas contribuições.

Traduzir o “Eliminate Render Blocking CSS” para seu idioma.

Interessado no desenvolvimento?

Navegue pelo código, consulte o repositório SVN ou assine o registro de desenvolvimento por RSS.

Registro de alterações

0.9

  • Initial plugin version with critical css generation and deferred styles loading