Is there an implementation of a HTTP (or decoded HTTPS) optimization device which would allow for "smart caching" - i.e. the ability to release some cached content (initially transferred by someone else) provided that the requester is authorized to access some data. The distant optimization device could for instance query the authorization for specific, cached data (small requests) and release the cache (significant data) if the authorization is correct.
This question arose while reading about optimization boxes (specifically Riverbed SteelHead HTTP optimization, but it is just an example of the kind of devices I have in mind) and I could not find anything via searches.