When you use stale?
or fresh_when?
, rack::cache
is using that information to tell the client whether its cache it fresh or not. rack::cache
is not caching the content.
A cache, if marked as private, can only be stored by the final user. But whether that cache is fresh or not can be determined by a proxy, like rack:cache
.