Questions tagged [cachemanager]

CacheManager is a caching abstraction layer for .NET written in C#.

CacheManager is an open source caching abstraction layer for .NET written in C#. It supports various cache providers and implements many advanced features.

The main goal of the CacheManager package is to make developer’s life easier to handle even very complex caching scenarios. With CacheManager it is possible to implement multiple layers of caching, e.g. in-process caching in front of a distributed cache, in just a few lines of code.

CacheManager is not just an interface to unify the programming model for various cache providers, which will make it very easy to change the caching strategy later on in a project. It also offers additional features, like cache synchronization, concurrent updates, serialization, events, performance counters… The developer can opt-in to those features only if needed.

48 questions
1
vote
1 answer

How to clear Cache in iOS?

TLDR: How, based on my current cacheManager, do I clear cache? What code should I use and how? I have the bellow cacheManager class which I use to cache user created videos. More info on how I use it is here. public enum Result { case…
user11182249
1
vote
0 answers

CacheManager/Couchbase Configuration Causing Ephemeral Port Exhaustion

Using... CacheManager.Core v1.1.2 CacheManager.Couchbase v1.1.2 CouchbaseNetClient v2.5.4 Couchbase Server EE v4.5.0 I tried to set-up a caching layer using the Couchbase configuration of CacheManager but it seems that tons of connections are…
John Paez
  • 65
  • 3
  • 8
1
vote
1 answer

Connection to Redis cache fails after restart - Azure

We are using following code to connect to our caches (in-memory and Redis): settings .WithSystemRuntimeCacheHandle() .WithExpiration(CacheManager.Core.ExpirationMode.Absolute, defaultExpiryTime) .And …
michal.jakubeczy
  • 8,221
  • 1
  • 59
  • 63
1
vote
1 answer

CacheManger Using Redis Multiplexer with Web.Config Configuration

I need to implement Michael solution using two Cache Instances like he explain in WhatIfRedisStopsWorkingHowDoIkeepMyAppRunning but using configuration in web.config. Finally i only have this line of code var defaultConfig =…
Gerardo Seró
  • 33
  • 1
  • 5
1
vote
1 answer

Redis Cluster configuration for CacheManager.NET

I have a basic question about Redis connection parameters from CacheManager.NET perspective. In case when we have Redis cluster with a master and 2 slaves, and with quorum of sentinel processes, should we provide the IP:PORT combinations pointing to…
jatanp
  • 3,982
  • 4
  • 40
  • 46
1
vote
1 answer

Is it possible to use ICacheManager<> with different type of configurations at the same time?

Imagine that I have interfaces like below which all inherits from ICacheManager<> public interface ICacheManagerRuntime : ICacheManager public interface ICacheManagerRedis : ICacheManager public interface ICacheManagerRedisWithRuntime
Barbaros Alp
  • 6,405
  • 8
  • 47
  • 61
1
vote
2 answers

Akamai and Jmeter cache manager

I have been running on Jmeter from past few weeks. There is no end-to-end use case in my Jmeter tests (e.g. login >> go to profile page >> logout). I am simply hitting few important pages of my application directly. e.g. Registration page, Home…
paul
  • 4,333
  • 16
  • 71
  • 144
1
vote
1 answer

CacheManager.Serialization.Json "Could not load file or assembly 'Newtonsoft.Json, Version=8.0.0.0"

I'm planning on using CacheManager (http://cachemanager.michaco.net/) and has been trying to set it to work with CacheManager.Serialization.Json. It requires Newtonsoft.Json (>= 8.0.3). I've Newtonsoft.Json 9.0.1 installed via NuGet. This is excerpt…
Bruce Chua
  • 31
  • 3
1
vote
1 answer

CacheManager.Net - Redis pipelining

Can someone please confirm whether CacheManager.Net supports redis pipelining? I could not find it in the documentation Thanks a lot. Cheers, U
Uchitha
  • 998
  • 8
  • 24
1
vote
1 answer

CacheManager.net (Redis) - Cache.Add only supports hashes?

I've just begun playing around with CacheManager.Net to add distributed caching capabilities to our app. My level 2 cache is Redis and it seem to work fine. I notice that when I do a Cache.Add(cacheItem), it always gets added as a Hash to redis. …
Uchitha
  • 998
  • 8
  • 24
1
vote
2 answers

cachemanager.net - How to get List of objects from redis cache based on key passed?

How do I get a List of objects from redis cache based on the key passed? I am exploring cachemanager.net for redis cache. I have gone through the examples. But I could not find any example related to getting the List of objects based on the key…
Ajay Rathod
  • 11
  • 1
  • 3
1
vote
1 answer

Using MichaCo\CacheManager with Redis4You and RedisLab redis server

https://github.com/MichaCo/CacheManager/issues/42 Hi. I'm using Redis4You hosted redis server. And the following configuration works fine. When the code comes to line Cache.Add("a", "b");, then it stucks there for an infinite time. When I monitor…
rebulanyum
  • 487
  • 10
  • 21
1
vote
1 answer

CacheManager and Dispose

I'm going to use the CacheManager which should handle my caching for me. When do I have to dispose it? Is it meant to be created every time I access the cache with a using statement? In this case I would have to write my initialization every…
Elak
  • 13
  • 2
0
votes
0 answers

Flutter offline data changes in Hive, ListView UI not updating when data changes using Cache Manager

I am creating a most popular tv shows app where in the UI I display a list of posters. I am using Hive and Cache Manager packages to store the data in a local database and then try to retrieve them when offline. In the console it is showing how the…
0
votes
1 answer

Handshake error in flutter while loading image via cached_image_network

CacheManager: Failed to download file from https://gorealestates.com/storage/products/thumb/Property_119989_72753174907.png with error: I/flutter (19986): HandshakeException: Handshake error in client (OS Error: I/flutter (19986): …
Syed Saif
  • 13
  • 1
  • 6