1.0.0 • Published 5 years ago

@userappstore/storage-cache-redis v1.0.0

Weekly downloads
1
License
SPDX(MIT OR Unlic...
Repository
github
Last release
5 years ago

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