@abtnode/constant 1.8.65-beta-5405baf2 → 1.8.65-beta-bfcc12ce

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.
Files changed (2) hide show
  1. package/index.js +17 -0
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -464,4 +464,21 @@ module.exports = Object.freeze({
464
464
  CREATE: 'create',
465
465
  RESTORE: 'restore',
466
466
  },
467
+
468
+ // @link https://docs.nginx.com/nginx/admin-guide/content-cache/content-caching/
469
+ // @link https://www.sheshbabu.com/posts/nginx-caching-proxy/
470
+ // @link https://www.nginx.com/blog/nginx-caching-guide/
471
+ ROUTER_CACHE_GROUPS: {
472
+ blockletProxy: {
473
+ minSize: '512m',
474
+ maxSize: '2g',
475
+ period: '30d',
476
+ },
477
+ // TODO: disabled because we can not bust nginx cache effectively for now
478
+ // blockletJs: {
479
+ // minSize: '8m',
480
+ // maxSize: '64m',
481
+ // period: '5m',
482
+ // },
483
+ },
467
484
  });
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "1.8.65-beta-5405baf2",
6
+ "version": "1.8.65-beta-bfcc12ce",
7
7
  "description": "ABT Node constants",
8
8
  "main": "index.js",
9
9
  "files": [
@@ -20,5 +20,5 @@
20
20
  "devDependencies": {
21
21
  "jest": "^27.5.1"
22
22
  },
23
- "gitHead": "e5dc838baded7031096118462a604fd70d78ff1c"
23
+ "gitHead": "f6a56512275a55feecf2f3953542ea98777a08f2"
24
24
  }