1

任何人都可以解释为什么CacheResponseStatus定义这两个值?

CACHE_HIT  A response was generated from the cache with no requests sent upstream.

CACHE_MODULE_RESPONSE The response was generated directly by the caching module.

对我来说,两者都是平等的,因为缓存提供了响应。

http://hc.apache.org/httpcomponents-client-ga/httpclient-cache/apidocs/org/apache/http/client/cache/CacheResponseStatus.html

4

0 回答 0