lru-custom-redis-cache-adapter

https://github.com/parse-community/parse-server/blob/master/src/Adapters/Cache/RedisCacheAdapter.js Changed RedisCacheAdapter due to performance issue.

Usage no npm install needed!

<script type="module">
  import lruCustomRedisCacheAdapter from 'https://cdn.skypack.dev/lru-custom-redis-cache-adapter';
</script>

README

custom-redis-cache-adapter

Base on this file: https://github.com/parse-community/parse-server/blob/master/src/Adapters/Cache/RedisCacheAdapter.js

Modified RedisCacheAdapter due to performace issue. https://github.com/parse-community/parse-server/issues/5401

Usage

npm i lru-custom-redis-cache-adapter
import { RedisCacheAdapter } from 'lru-custom-redis-cache-adapter';

const parseServer = new ParseServer({

    /// Other options

    cacheAdapter: new RedisCacheAdapter({ url: process.env.REDIS_URL });

});