Skip to content

addyosmani/critical-path-angular-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Critical-path demo using AngularJS

Above-the-fold CSS generation + inlining using Critical & Gulp

Compare the normal output with the critical-path CSS optimized version.

PageSpeed results for before:

and after:

Installation

$ cd critical-path-angular-demo
$ npm install && bower install

Usage

You have two options:

The normal build:

gulp

Build including critical-path CSS extraction & inlining:

gulp critical

Either option will write the output to the dist directory.

About

Above-the-fold CSS generation + inlining using Critical, Gulp & Angular

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published