标签: java caching httpclient
任何人都可以解释为什么 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.
对我而言,两者都是相同的,因为Cache提供响应。
http://hc.apache.org/httpcomponents-client-ga/httpclient-cache/apidocs/org/apache/http/client/cache/CacheResponseStatus.html