Node.js Cache: Caching Benefits and Overview
Node.js is a cross-platform, open-source JavaScript runtime environment that can run on multiple operating systems like Windows, Linux, and more. It is incredibly useful for building fast, scalable network applications.
Supported Client-Side Features for Node.js Cache
NCache offers in-depth support for its Client-Side API in Node.js, it supports the following features:
- CRUD Operations
- Expiration
- Locking
- Groups
- Tags
- Named Tags
- SQL Queries
- Events
- Continuous Query
- Dependencies
- Data Structures
- Pub/Sub Messaging
Session Management in Node.js Cache
Along with using Node.js in its client side features, NCache provides a session store for session data storage in Node.js cache to boost the overall performance of your application. If your application runs in a web server farm and you need reliable and scalable storage for your session persistence, NCache is the best option.
Express is a Node.js web application server framework specifically designed to build mobile and web applications. Node.js uses Express-session middleware to manage sessions. By default, Express provides server-side session storage but, it also gives the facility to make your own custom store whilst the rest stays the same.
In this chapter, you will learn how to configure NCache as a session store for your Node.js application.
In This Section
Configure Sessions in Node.js
Explains how to configure and use NCache as a session store for Node.js applications.