Application Cache Provider

The CApplicationCache provider stores data on the server side using the memory space of the Node application/Nitro server. It is exclusively for server-side operations and persists until the server restarts.

Note: Server-side caches use the memory of the server they are running on. They may not work as expected in a stateless environment.

CApplicationCache Example

Application Cache is ideal for storing data generated during SSR that needs to be shared across multiple requests in the server environment.