jdehlin / cachesleeve Goto Github PK
View Code? Open in Web Editor NEWCacheSleeve lets you easily add distributed in-memory caching to your ASP.NET projects.
License: Apache License 2.0
CacheSleeve lets you easily add distributed in-memory caching to your ASP.NET projects.
License: Apache License 2.0
Hi
Thanks and great work. You should consider opening up the cache manager and access to the redis cacher (possibly constructor injection) to allow alternative serializes to be used, for example Protobuf.
Cheers
The option of using a MemoryCacheCacher vs. HttpContextCacher would be great for non-ASP.NET projects that don't expose HttpContext (e.g. SignalR).
Is there any plans to implement StackExchange.Redis support into CacheSleeve ? Async support will be great ?
Thanks
New version is not working when I update library from 1.3.10 to 1.4.7. Can you please help me?
Timeout performing DEL cs.xxxx, inst: 1, mgr: ExecuteSelect, queue: 18, qu=0, qs=18, qc=0, wr=0/0, in=0/0
StackExchange.Redis.ConnectionMultiplexer.ExecuteSyncImpl(Message message, ResultProcessor1 processor, ServerEndPoint server) in c:\TeamCity\buildAgent\work\3ae0647004edff78\StackExchange.Redis\StackExchange\Redis\ConnectionMultiplexer.cs:1824 StackExchange.Redis.RedisBase.ExecuteSync(Message message, ResultProcessor
1 processor, ServerEndPoint server) in c:\TeamCity\buildAgent\work\3ae0647004edff78\StackExchange.Redis\StackExchange\Redis\RedisBase.cs:81
StackExchange.Redis.RedisDatabase.KeyDelete(RedisKey key, CommandFlags flags) in c:\TeamCity\buildAgent\work\3ae0647004edff78\StackExchange.Redis\StackExchange\Redis\RedisDatabase.cs:368
CacheSleeve.RedisCacher.Remove(String key) in c:\Users\Jonathan\Projects\Personal\CacheSleeve\CacheSleeve.NET40\RedisCacher.cs:91
CacheSleeve.HybridCacher.Set(String key, T value, DateTime expiresAt, String parentKey) in c:\Users\Jonathan\Projects\Personal\CacheSleeve\CacheSleeve.NET40\HybridCacher.cs:69
If you use HttpRuntime.Cache it enables hybrid cache to be used in non-hosted environments.
HttpContext.Current.Cache uses HttpRuntime.Cache anyway so nothing will change
If you disable debugging like so:
CacheSleeve.CacheManager.Init("localhost);
CacheSleeve.CacheManager.Settings.Debug = false;
The setting will be overwritten if you do something like this:
var localCache = new HttpContextCacher();
localCache.Set("key", "test", new TimeSpan(1000));
It appears the initializer for HttpContextCacher and RedisCacher are setting Debug = true;
Shouldn't they honor the setting in CacheManager.Settings?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.