Experimental project

This is a sandbox project, which contains experimental code for developer use only.

Inline (a.k.a critical) CSS is advisable for initial page rendering to eliminate the flash of unstyled content (FOUC) and is something recommended by various page speed tools. https://developers.google.com/speed/docs/insights/OptimizeCSSDelivery

With that in mind this module allows for a CSS library to be defined as "inline" in your libraries.yml file.
Repos also available here: https://github.com/chriskinch/css_inline

Usage:

css/styles.css: {inline:true}

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • Module categories: Developer Tools, Performance
  • Created by chriskinch on , updated