EP.2 – Node.js Tutorialการทำ Caching ด้วย Redis
มาดูวิธีการทำ Caching ด้วย Node.js + Redis กันครับ
สำหรับบทความ Tutorial สามารถอ่านเพิ่มเติมได้ที่
https://devahoy.com/blog/2019/11/how-to-caching-node-api-with-redis/
—-
1. ติดตั้ง Redis ด้วยคำสั่ง
“`
npm install redis
“`
2. เรียกใช้งาน redis
“`
const redis = require(‘redis’);
const client = redis.createClient();
Comments are closed.