Skip to content
Specific Docs
Esc
navigateopen⌘Jpreview
On this page

Cache

A simple Node.js page counter demonstrating how to use Redis caching with Specific.


Cache service diagram

Run locally

Install the CLI and clone

curl -fsSL https://specific.dev/install.sh | sh
git clone https://github.com/specific-dev/examples.git
cd examples/node-cache-counter
npm install

Start the development server

specific dev

Open the URL shown in the output to see the counter increment on each visit.

Deploy to production

specific deploy

Was this page helpful?