Skip to content
This repository has been archived by the owner on Apr 15, 2020. It is now read-only.

Sample site demonstrating the critical css inlining optimization

License

Notifications You must be signed in to change notification settings

aerobatic/critical-css-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Critical CSS Optimization Demo

This Aerobatic demo site showcases the performance improvements offered by the critical css inline optimization. The site was generated using the Bootstrap Agency quick start.

aero create --quick-start html5/sb-agency

There are two versions of the site - with and without the critical CSS inlining optimization enabled. The aerobatic.yml contains the following configuration:

deploy:
  optimizer:
    inlineCriticalCss: true

Results

The Google PageSpeed Insights tool was run against each version. The improvement is particularly significant on mobile devices.

Mode URL Desktop Score Mobile Score PageSpeed Results
Without critical CSS inlining https://critical-css-demo.aerobatic.io/ 90 / 100 74 / 100 View Results
With critical CSS inlining https://critical-css-demo--optimized.aerobatic.io 98 / 100 98 / 100 View Results

About

Sample site demonstrating the critical css inlining optimization

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published