Add Compression to Express in Node.js
In this tutorial we will use the Node.js Express compression middleware package to implement basic compression our server. Compression encodes information into a smaller size than the original, decreasing the bandwidth usage of an application and providing faster download speeds for clients.
By the end of this tutorial, you should be able to:
- Enable compression of responses
- Check response size using DevTools
This tutorial is part 6 of 7 tutorials that walk through using Express.js to create an API proxy server.
Sign in with your Osio Labs account
to gain instant access to our entire library.