openrasta/openrasta-caching — Issue #6: Multiple CacheEntry objects with same key but different expires on DateTime
Author: Kamen84
Created: 2012-01-05 17:51:35+00:00
State: open

In CachingContributor it looks like we always add CacheEntry to the store as long as we have a GET request method and status of 200.
Having this in mind we can end up with multiple CacheEntry objects with same key but different expires on DateTime.
What is the purpose of this mechanism, I would've thought we'd want to have single CacheEntry per key and that to be the latest resource that satisfied a request?

Cheers