A demo app of progressive enhancement techniques aimed at increasing website performance.
Progressive performance is a boilerplate app setup aimed at combining progressive enhancement techniques to improve site performance. The app includes:
- Critical Path CSS (via Penthouse)
- Font Loading API
- Universal JavaScript architecture with ReactJS
- Service worker offline support
Clone the git repo - git clone git://github.com/onishiweb/progressive-performance.git - or download it and then rename the directory to the name of your project.
Run npm install
inside the project directory to install dependencies.
You will also require a few extra things to be installed and working globally on your system.
The project uses Gulp as a build tool, based on Una's Gulp starter environment with 3 main tasks:
gulp critical
use to generate critical path CSS which will be output topublic/critical.css
by default.gulp build
to run a one-time build of JavaScript, Sass, and image minificationgulp
the default task will run the same tasks as build as well as starting browser-sync, andgulp watch