-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Open
Labels
type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest version of Parse Server.
Issue Description
It would be nice to have global redis cache cache query results from Mongo DB by default.
Steps to reproduce
- Install a redis server and make sure it's running.
- Connect the redis server to parse via redis adapter like this:
const RedisCacheAdapter = require("parse-server").RedisCacheAdapter;
const serverConfig = {
...
cacheAdapter: new RedisCacheAdapter({ url: process.env.REDIS_URL }),
...
}
Environment
node 18.2.0
redis-server on local docker v7.0.10
redis-server on digital ocean droplet with ubuntu 22 v7.0.4
Server
- Parse Server version:
^6.0.0
- Operating system:
Win 64
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
Redis server tested both on redis-server version=7.0.10 on a local docker container as well as digital ocean droplet with ubuntu 22 redis-version 7.0.4
Database
- System (MongoDB or Postgres):
Mongo
- Database version:
5.0.15
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
Atlas
Client
- SDK (iOS, Android, JavaScript, PHP, Unity, etc):
JavaScript
- SDK version:
^4.0.1
Logs
Metadata
Metadata
Assignees
Labels
type:featureNew feature or improvement of existing featureNew feature or improvement of existing feature