CacheResponseStatus枚举让我感到困惑

时间:2012-09-19 12:51:49

标签: 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

0 个答案:

没有答案