Questions tagged [objectcache]

36 questions
0
votes
2 answers

Store Lists on Redis

I have a list and I would like to cache it into redis. I tried two ways to achieve it by using hashes. Consider this first approach. I create only one hash and set items as hash values: // .. $apiArray = [..]; // array from parsing an…
Mauro
  • 189
  • 2
  • 14
0
votes
0 answers

ObjectCache - Clearing all content after some refreshes

I've been working with ObjectCache for some time and I've been having some problems with users getting logged out after some use. What is happening that the ObjectCache is clearing the Cache after some refreshes in the browser, it's happening in my…
0
votes
1 answer

Apache Camel Cache Configuration Is Not Working

I want to put non-serializable object to camel cache and get. In route configuration of cache I set objectCache parameter to true as seen below. from("cache://MyCache" + "?maxElementsInMemory=5" + …
0
votes
0 answers

ObjectCache isn't preserving sort order

I am storing data from my database into ObjectCache. Looping through each row using a for statement whilst inserting a new object into the cache using .Set() Data stores fine, except, its completely out of order than the original data set from the…
RealWorldCoder
  • 1,031
  • 1
  • 10
  • 16
0
votes
1 answer

CacheItemPolicy - SlidingExpiration "Accessed" rules?

From http://msdn.microsoft.com/en-us/library/system.runtime.caching.cacheitempolicy.slidingexpiration(v=vs.110).aspx ... "A span of time within which a cache entry must be accessed before the cache entry is evicted from the cache. The default is…
gibbo
  • 367
  • 2
  • 4
  • 15
0
votes
0 answers

With System.Runtime.Caching, is there a physical location where the cache is stored?

I was wondering if there is a physical location the cache is stored at and if so, can the location be changed?
ijason03
  • 571
  • 2
  • 9
  • 26
1 2
3