/redis-caching

Two simple caching examples using Redis. The purpose of these simple coding projects is to show how easy it is to implement Redis caching in your application and to fasten up slow database queries or slow HTTP responses.

Primary LanguageJavaScript

Redis Caching

Two simple caching examples using Redis.

  • example using Redis for slow SQL queries
  • example using Redis for slow HTTP responses

These examples are basic and simple, with the primary focus on the caching concept. Inside each project you'll find a README file with all necessary informations.

Prerequisites

  • Node.js
$ apt install nodejs
  • npm (Node Package Manager)
$ apt install npm
  • Redis
$ apt install redis-server