We're using the LightweightBrowserCache
provided by RESTEasy 2.2.3.GA but have noticed that when the cache size limit is reached, the cache is cleared completely. Obviously this severely reduces the chance of cache hits, because there's no way that the most regularly used items can remain in the cache.
We'd like to create a more sophisticated implementation (e.g. based on Ehcache) that would evict the least recently used items when the size limit is reached.
Does anyone know of a good, open source implementation of org.jboss.resteasy.client.cache.BrowserCache
that we could use?
or