I'm on a 2.6.3 Parse Server and I need to cache the results of queries, to speed things up!

I understand that Parse Server offers a Redis adapter. What exactly do I have to do, in order to start using Redis? Are there any modules I should install? Anything I should import or configure?

Also, I found this on Parse's documentation: Those cache adapters can be cleaned at anytime internally, you should not use them to cache data and you should let parse-server manage their data lifecycle.

What do they mean by saying you should not use them to cache data and you should let parse-server manage their data lifecycle.? Should I not use the adapter?

This means that the cache adapter is meant for the exclusive use of Parse Server to cache its own internal data. It means that any code you write should not attempt to use the cache adapter or alter the cache in any way.

  • So why is the adapter available, if I can't use it? – Sotiris Kaniras Aug 5 at 13:48
  • Read the first sentence of the answer. – Michael Hampton Aug 5 at 13:52
  • Yeah you're saying that Parse Server itself manages the adapter for its own reasons! So, how could I use Redis, if I can't use its adapter? – Sotiris Kaniras Aug 5 at 13:57

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.