@tramvai/module-cache-warmup 2.134.0 → 2.139.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -38,3 +38,9 @@ In order to emulate mobile or desktop device next user-agent strings are used:
|
|
|
38
38
|
## Debug
|
|
39
39
|
|
|
40
40
|
This module logs with id `cache-warmup`
|
|
41
|
+
|
|
42
|
+
## How to
|
|
43
|
+
|
|
44
|
+
### How to disable cache warmup?
|
|
45
|
+
|
|
46
|
+
Run application with env variable `CACHE_WARMUP_DISABLED=true` to prevent cache warmup in local or testing environments.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-cache-warmup",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.139.2",
|
|
4
4
|
"description": "tramvai cache warmup module",
|
|
5
5
|
"browser": "lib/browser.js",
|
|
6
6
|
"main": "lib/server.js",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"@tinkoff/url": "0.8.6"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@tramvai/core": "2.
|
|
28
|
-
"@tramvai/module-common": "2.
|
|
29
|
-
"@tramvai/state": "2.
|
|
30
|
-
"@tramvai/tokens-http-client": "2.
|
|
27
|
+
"@tramvai/core": "2.139.2",
|
|
28
|
+
"@tramvai/module-common": "2.139.2",
|
|
29
|
+
"@tramvai/state": "2.139.2",
|
|
30
|
+
"@tramvai/tokens-http-client": "2.139.2",
|
|
31
31
|
"tslib": "^2.4.0"
|
|
32
32
|
},
|
|
33
33
|
"module": "lib/server.es.js",
|