1. The Green Web Dev book
  2. Foreword
  3. What is this book?
  4. Introduction
  5. 1. The climate crisis
  6. 2. The impact of web applications
  7. 3. Measuring energy usage
  8. 4. Pitching green initiatives
  9. 5. Stay grounded
  10. Making Web Apps Greener
  11. 6. General Tips
    1. 6.1. Adopt a data budget
    2. 6.2. Support browsers sustainably
    3. 6.3. Curate features responsibly
  12. 7. Styles
    1. 7.1. Create print-specific styles
    2. 7.2. Employ responsive design
    3. 7.3. Use webfonts responsibly
  13. 8. Frontend Code
    1. 8.1. Choose appropriate libraries
    2. 8.2. Import efficiently
  14. 9. Content
    1. 9.1. Keep content concise
    2. 9.2. Lazy load content
    3. 9.3. Avoid excessive markup
    4. 9.4. Use semantic markup
  15. 10. Images
    1. 10.1. Lazy load images
    2. 10.2. Never use GIFs
    3. 10.3. Resize images appropriately
    4. 10.4. Use appropriate image formats
    5. 10.5. Make use of modern image formats
  16. 11. Backend Code
    1. 11.1. Consider whether you really need a backend
    2. 11.2. Choose a green host
    3. 11.3. Optimise data queries
    4. 11.4. Optimize your API
    5. 11.5. Use the right kind of database
  17. Appendix
  18. 12. Appendix A: External Resources
  19. 13. Appendix B: Useful Tools

Content