To improve the loading performance, the following tips are used:
- Commit: Drop devicon font file Drop devicon font file, use svg instead
- Commit: Ensure svg is only requested once Ensure svg file is only queried once, using CSS Modules
- Commit: Use production build Use production build
- Commit: reduce bundle size by using production devtool option
Reduce bundle size, change
devtool
fromeval
tosource-map
- Commit: Eliminate render-blocking JavaScript and CSS Eliminate render-blocking JavaScript and CSS (inline small styles and async js)
- Commit: Use service worker Service Worker (all from cache), of course, enable github pages https
- Commit: Use extract-text-webpack-plugin to generate native css output file Generate native css output file to ensure large stylesheets can be cached and asynchronous downloading
- Commit: Wipe old cache when updating service worker Wipe old cache when updating service worker (this commit is an appendix for last commit(use extract-text-webpack-plugin to generate native css output file)
- ...On going