A demo web app demo that demonstrates frontend performance improvements.
- Run
npm installto install all the required dependencies - Run
npm run devto build the project using dev configurations. - Run
npm startto start a node server onlocalhost:3000
The source code is organised in multiple branches:
mastercontains the baseline implementationinline-cssadds inline CSS and loads remaining CSS asynchronouslypreloadadds web font preloadingcodesplittingadds code splitting using theCommonsChunkPlugin&WebPackBundleAnalyzer
Built using JavaScript (ES2015), running on ExpressJS on the server-side and vanilla JavaScript on the client-side.
The application is not production ready and only for demo purposes. The main pitfalls are the lack of server-side rendering and possible lack of cross-browser support.