Optimize an Express Server in Node.js

We can optimize some aspects of our Express API server to increase the performance of a Node.js application. Two major strategies are caching requests and compressing responses. Compression reduces the size of responses that are sent back to clients, saving bandwidth both for the server and for the client. Caching allows you to reuse retrieved data to speed up serving requests to your API.

By the end of this tutorial, you should be able to:

  • Understand caching and compression
  • Explain the benefits of compressing responses
  • Identify when we should and shouldn’t use caching
  • Learn about different options for a caching layer
Log in or Sign up to view the complete tutorial.

Sign in with your Osio Labs account
to gain instant access to our entire library.