你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/491565-lib-cache,源站連結 點此以跳轉

lib:cache

none



點此查看下載連結位址https://update.greasyfork.org.cn/scripts/491565/lib%3Acache.user.js

安装此脚本?
作者
rssa_romeo
日安装量
0
总安装量
11
评分
0 0 0
版本
5
创建于
2024-04-03
更新于
2025-12-23
大小
2.5 KB
许可证
GPLv3
适用于
所有网站

example:
const cache = loadlib('cache')
const c = new cache()
function test(a, s){
if(c.has(`${a}+${s}`))
return c.get()
//do things
return c.set(output)
}
requires:
https://greasyfork.org.cn/en/scripts/491562-libloader-lib