Network - alexanderteplov/computer-science GitHub Wiki
Network optimizations (images, gzipping, bundling, etc)
- Enable HTTP/2
- Enable TLS 1.3
- Compress responses using Brotli or gzip
- Add caching information
- Optimize JavaScript / CSS files
- Minify JavaScript / CSS files
- Bundle JavaScript / CSS files
- Async / Defer script
- Lazy load CSS
- Inline JavaScript / CSS
- Remove unused CSS rules
- Reduce the number of redirections
- Redirect directly to the final destination
- Use canonical instead of a redirection
- Use HSTS (HTTP Strict Transport Security)
- Optimize images
- Choose the right format
- Use the right image size
- Use Web Fonts for icons
- Minify FontAwesome
- Lazy load images
- Move your servers near your visitors (GeoDNS, CDN)
- Resource Hints: Prefetch resources
- Remove unused resources/features
- Replace social buttons scripts with static links
- Minify HTML
- Automate almost everything!