Add css async option to module's meta.json file


It would be amazing to have an async argument in modules. Maybe in meta.json?

I saw in the require_css function there is now an { async: true } argument and that would be helpful for a footer module’s css to load asynchronously, for example. 

1 Reply
Contributor | Diamond Partner

If we can simply get an option where you can set if you want to defer CSS and JS of the module, that would be great! This way we can simply tell each module what to do with the css.


A second step would be reading what module is just on the top XXX pixels of the page and defer everything else (with overwrite option if nessesary) .