You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/techniques/caching.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ $ npm install cache-manager
12
12
13
13
> warning **Warning** As of version `>=9.2.1` of NestJS is compatible with both `cache-manager` v4 and v5.
14
14
15
-
> warning **Warning**`Cache-manager` version 4 uses seconds for `TTL (Time-To-Live)`. Current version of `cache-manager` (v5) has switched to using milliseconds instead. NestJS doesn't convert the value, and simply forwards the ttl you provide to the library. In other words:
15
+
> warning **Warning**`cache-manager` version 4 uses seconds for `TTL (Time-To-Live)`. The current version of `cache-manager` (v5) has switched to using milliseconds instead. NestJS doesn't convert the value, and simply forwards the ttl you provide to the library. In other words:
16
16
> * If using `cache-manager` v4, provide ttl in seconds
17
17
> * If using `cache-manager` v5 or newer, provide ttl in milliseconds
18
18
> * Documentation is referring to seconds, since NestJS was released targeting version 4 of cache-manager.
0 commit comments