A static site starter kit optimized for performance.
- Install Yarn.
- Run
yarn
. - Run
npm run build
.
Running gulp watch
will watch and wait for changes to happen to the project and then automatically recompile any files that have changed.
When deploying with this project, just deploy the generated app
directory.
- Install Surge.
- Run
surge
. - Specify the path to the
app
directory. - Set the name of the surge subdomain you'll be deploying to.
- HTML Minification
- CSS Minification
- JS Uglification
- ESNext Support (Babel)
- JPEG and PNG compression and SVG Optimization
- Progressive Web App
- PageSpeed
- HTTPS
- HTTP/2
- gzip
- Cache Busting w/ gulp-rev
- WebAssembly (Sample)
- FastDOM (Sample)
- Use BEM (Sample)
- will-change (Sample)
- translateZ(0) (Sample)
- Picture srcset (Sample)
- GIFsicle support (Implement)
- Nginx Caching (Implement)
- Trampolining (Sample)
- Y-Combinator (Sample)
- Use preconnect
- Use Compressor.io for compressing files.
- Use variables for the directories
- Ignore worker.min.js on gulp-rev
- Add more html files in other folders with their corresponding styles and scripts