Ghost/ghost/event-aware-cache-wrapper
Naz 5ab81554fc Removed synthetic timestamp-based cache resets
refs https://github.com/TryGhost/Arch/issues/5

- Current event-aware cache wrapper has been using a timestamp as a way to create keys in Redis cache and reset them all at once. We are now moving on to the updated Redis adapter that supports "reset()" natively, so there's no need for synthetic resets.
2023-08-11 17:13:47 +08:00
..
lib Removed synthetic timestamp-based cache resets 2023-08-11 17:13:47 +08:00
test Removed synthetic timestamp-based cache resets 2023-08-11 17:13:47 +08:00
.eslintrc.js
index.js
package.json Update Test & linting packages 2023-07-11 15:26:07 +02:00
README.md

Event Aware Cache Wrapper

Cache wrapper allowing to reset the cache after certain events

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests