Blog.Core/Blog.Core.Gateway/Helper
LemonNoCry 966db5ec8c
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
.NET Core / build (push) Has been cancelled
🎨 优化调整缓存性能
1.调整获取所有Key的方式,原有写法是维护一个AllKey的集合,在长时间运行后Key越来越多性能越来越低,故此优化,直接使用Redis原生API
2.优化App.GetServiceProvider的逻辑,如果是单例则直接返回RootServices
3.优化IpPolicyRateLimitSetup,使用分布式缓存,而不是MemoryCache
4.优化MiniProfilerSetup,增加注册使用Redis
5.优化DataProtectionSetup,在不使用Redis时,默认保存在临时文件夹
2024-07-18 17:47:31 +08:00
..
CustomJwtTokenAuthMiddleware.cs 🎨 优化调整缓存性能 2024-07-18 17:47:31 +08:00
HeaderDelegatingHandler.cs boboyunz gateway 2022-02-14 23:35:25 +08:00