@userappstore/storage-cache-redis

1.0.0 • Public • Published

Redis Storage Cache for Dashboard

Install this module to use Redis as a cache to avoid disk/database operations.

To test this module use Dashboard's test suite configured with this storage cache.

When to use NodeJS caching

You host your web app on a single server and use the hard disk as storage, especially spinning disks to avoid repetetive file reads.

STORAGE_CACHE=node

When to use Redis caching

You have lots of traffic balanced across multiple Dashboard server instances, especially using S3 storage to avoid repetitive file requests.

STORAGE_CACHE=@userappstore/storage-cache-redis
CACHE_REDIS_URL=redis://localhost:6379

/@userappstore/storage-cache-redis/

    Package Sidebar

    Install

    npm i @userappstore/storage-cache-redis

    Weekly Downloads

    1

    Version

    1.0.0

    License

    SPDX(MIT OR Unlicense)

    Unpacked Size

    2.57 kB

    Total Files

    5

    Last publish

    Collaborators

    • benlowry