Skip to content

Saswat689/Redis-Cache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Caching in Node.js 🚀

Caching is a powerful technique that makes web servers serve content faster about 10 to 20 times on GET endpoints.This code is just an implementation of caching using Redis in Node.

Getting started

If you want this as a template:

  • Clone the repo:
git clone https://github.com/Saswat689/Redis-Cache.git .
  • Run the server:
npm start	
  • Redis must be installed on your system.
  • Note that a type:module is specified in the package.json because we are using node-fetch as a module.

Endpoints

/repos/:username

  • Rate limit: none
  • Secure: none
  • Caching: true

Return value Number of repos created by the :username param.

About

Implementation of Redis Caching in Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published