Reduce size of a web application
Strategies
- Minify and compress source code (HTML, CSS, JavaScript)
- Use Tree Shaking → dead-code elimination
- Use a Minimalistic CSS Framework
- Reduce size of images → Image Optimization
- Remove custom fonts (see also Web Fonts)
- Moving code to the backend
- Reduce number of dependencies
- …
Use lowercase letters
why lowercase letters save data | endtimes.dev
🔗 References
Linen.dev: The 500KB Slack alternative linen #blog
- Fixing import issues and tree shaking problems
- Replace libraries with custom code
- Moving code to the backend