Bookshelf Cache Redis
🔥 A robust, performance-focused caching solution for Bookshelf based on top of Redis.
$ cd myProject/$ npm install bookshelf-cache-redis --save
;;;;const bookshelf = ;bookshelf;
You can pass the exact same parameters on the
fetchAllCache methods as you will do with
fetchAll. However, you need to specify an unique serial key for each request.
Car// Same as .orderBy('cars.productionYear', 'DESC');