mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2024-09-20 23:48:27 +08:00
966db5ec8c
1.调整获取所有Key的方式,原有写法是维护一个AllKey的集合,在长时间运行后Key越来越多性能越来越低,故此优化,直接使用Redis原生API 2.优化App.GetServiceProvider的逻辑,如果是单例则直接返回RootServices 3.优化IpPolicyRateLimitSetup,使用分布式缓存,而不是MemoryCache 4.优化MiniProfilerSetup,增加注册使用Redis 5.优化DataProtectionSetup,在不使用Redis时,默认保存在临时文件夹 |
||
---|---|---|
.. | ||
Controllers | ||
Extensions | ||
Helper | ||
Properties | ||
appsettings.gw.Development.json | ||
appsettings.gw.json | ||
Blog.Core.Gateway.csproj | ||
Blog.Core.Gateway.xml | ||
index.html | ||
ocelot.Development.json | ||
ocelot.json | ||
ocelot.Production.json | ||
ocelot.Staging.json | ||
Program.cs | ||
Startup.cs |