Skip to content

Commit

Permalink
docs(): updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Tony133 committed Jul 24, 2023
1 parent c562ad5 commit 89a2610
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion content/techniques/caching.md
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ class HttpCacheInterceptor extends CacheInterceptor {
This service takes advantage of [cache-manager](https://github.com/node-cache-manager/node-cache-manager) under the hood. The `cache-manager` package supports a wide-range of useful stores, for example, [Redis store](https://github.com/node-cache-manager/node-cache-manager-redis-yet) official package for node-cache-manager. A full list of supported stores is available [here](https://github.com/node-cache-manager/node-cache-manager#store-engines). To set up the Redis store, use the `registerAsync()` method to initialize the store, as follows:
```typescript
import type { RedisClientOptions } from 'redis';
import { redisStore } from 'cache-manager-redis-yet';
import { Module } from '@nestjs/common';
import { CacheModule, CacheStore } from '@nestjs/cache-manager';
Expand Down

0 comments on commit 89a2610

Please sign in to comment.