Minify HTML, CSS and JavaScript resources on all websites of the torproject.org to save a bit of bandwidth
https://developers.google.com/speed/docs/insights/MinifyResources
You should minify your HTML, CSS, and JavaScript resources:
- To minify HTML, try HTMLMinifier
- To minify CSS, try CSSNano and csso.
- To minify JavaScript, try UglifyJS. The Closure Compiler is also very effective. You can create a build process that uses these tools to minify and rename the development files and save them to a production directory.
Alternatively, the PageSpeed Module, integrates with with an Apache or Nginx web server to automatically optimize your site, including resource minification.
For HTTP for example with https://kangax.github.io/html-minifier/ one gets for blog.torproject.org:
Original size: 45,528. Minified size: 39,603. Savings: 5,925 (13.01%).
For bridges.torproject.org:
Original size: 4,585. Minified size: 3,451. Savings: 1,134 (24.73%).
Even do the gains are minimal, it's still impressive considering how easy it is to implement, and with time it can significantly add up and save bandwidth.