openrasta/openrasta-caching — Issue #4: Bypass Cache if client sets max-age=0
Author: IainBapty
Created: 2011-10-24 15:43:12+00:00
State: open

It doesn't look like there is currently a way to invalidate the in-memory cache if the client has requested the latest value. If the client needs the very latest value then there is no way to force the request down to the handler.

Perhaps if the client sets:

Cache-Control:max-age=0

or

Cache-Control:no-cache

then `CachingInterceptor` should skip `TryGetValidCacheEntry`. What do you think?