A demo web app demo that demonstrates frontend performance improvements.
- Run
npm install
to install all the required dependencies - Run
npm run dev
to build the project using dev configurations. - Run
npm start
to start a node server onlocalhost:3000
The source code is organised in multiple branches:
master
contains the baseline implementationinline-css
adds inline CSS and loads remaining CSS asynchronouslypreload
adds web font preloadingcodesplitting
adds 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.