techdivision/defer-css
composer require techdivision/defer-css
Neos Defer CSS package with preload option
dev-master
Readme excerpt
Deferring CSS for Neos CMSThis very simple package provides a way to async-load CSS files. You can split your CSS into single files to speed up your website (i.e. load css that is most probably below the fold) or only required if the feature is present.
It provides a "DeferCss" AFX-atom with preload hack as described here:
https://www.filamentgroup.com/lab/load-css-simpler/
Add your stylesheet simply by using the atom TechDivision.DeferCss:Atom.DeferCss:
prototype(My.Package:Page) { head.stylesheets.myAwesomeStylesheet < TechDivision.DeferCss:Atom.DeferCss { href.path = 'resource://My.Package/Public/Css/MyAwesomeStyleSheet.css' …Read more
The same vendor provides 15 package(s).