Skip to content
Permalink
Branch: master
Commits on Jun 4, 2019
  1. Update unused-css.md (#7688)

    optimalisatie authored and petele committed Jun 4, 2019
    PR #7214 was published yesterday but the link was changed.
    #7214
    
    The repository has been changed in the mean time. The async loader was further improved and it combines both the stylesheet and script loader in `$async()`. By using an GCC based IIFE generator it would be possible to select only the modules that are needed and to exclude the javascript loader.
    
    The key USP of the loader may be the ability to use a HTML `data-c` attribute with 100% JSON based control over the loader. It will enable to use the loader with complex page-based config and the fastest startup time in combination with a strict `Content-Security-Policy`.
    
    https://github.com/style-tools/async
    
    What's also unique is that you can capture async scripts and rewrite or remove them, for example rewrite `analytics.js` to bypass the header issues in the Google Lighthouse audit.
You can’t perform that action at this time.