O'Reilly logo

Mastering Web Application Development with Express by Alexandru Vlăduțu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 7. Improving the Application's Performance

This chapter will focus on improving the performance of our Express applications in order to make them faster, use less memory, and be able to handle more concurrent users.

We will be handling the following topics:

  • Frontend optimization tricks to serve static resources
  • Creating a cache system that can be easily integrated into our application
  • Using streams to process data
  • Flushing the content early using streaming templates
  • Handling more users with the cluster

Serving static resources with Express

One of the first things that comes to mind when writing a web application is the ability to serve static files. While there are other solutions that we can use alongside our applications for this functionality, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required