Hi all,

I tried to use LRUCache for some application of mine with a two stages, over-the-internet data requests, and I couldn't find a way of using it.

My use case was:
- retrieve some data with high latency (over 10 seconds)
- in a interactive application, where I need to be able to continue while the data is being loaded.

So I designed it in two stages:
- Have a cache
- if the data isn't in the cache
-- trigger a load with a fork
-- put some temporary data in the cache (something which says loading)
-- continue
- When the data load is terminated
-- replace the cached temporary data with the final version.

The thing is that I couldn't do the last one with the LRUCache (there is not at:put:, only a at:ifAbsentPut: []). Did I miss something?

Thierry