Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cloudbase-accesstoken-cache

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudbase-accesstoken-cache - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

2

package.json
{
"name": "cloudbase-accesstoken-cache",
"version": "1.0.2",
"version": "1.1.0",
"description": "cloudbase-accesstoken-cache , use cloudbase database to manager your accesstoken easily !",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -54,2 +54,16 @@ # cloudbase-accesstoken-cache

如果你有更复杂的需求,请提 [`issue`](https://github.com/sonofmagic/cloudbase-accesstoken-cache/issues)
有 `2` 种策略,通过构造方法的 `memoize` 配置项开启 ,`default: true`
开启后会在内存中同步缓存,相当于一套 2 级缓存机制,顺序为:
1. 内存缓存
2. Cloudbase DB 数据库缓存
3. 重新获取
不开启的策略为:
1. Cloudbase DB 数据库缓存
2. 重新获取
如果你有更复杂的需求,请提 [`issue`](https://github.com/sonofmagic/cloudbase-accesstoken-cache/issues)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc