A caching wrapper for Parse SDK queries, supporting both memory and Redis storage. Version 0.0.13 is the latest and likely final release; the project appears unmaintained since 2021. Works with Node.js (cloud code) and browsers. Provides a simple .cache() method on queries with TTL support. Alternative to manual caching or parse-server built-in cache. Requires parse-server ≥2.8.4 and Parse SDK ≥2.1.
npm install parse-cacheNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes parse-cache with memory storage, then runs a cached query showing the fromCache flag.
Ensure parseCache(Parse, ...) is called once at app startup before any query execution.
Test compatibility with exact Parse SDK version. Avoid using with other caching libraries.
Consider alternatives like parse-server built-in cache or custom caching.
Run 'npm install redis' alongside parse-cache.
Call parseCache(Parse, 'AppName', {engine: 'memory'}) at the beginning of your script.npm install redis
Run the same query twice; only the second call has fromCache set to true.