A GET request from the URL http://www.mydomain.com/content/ will contain an Http 404 code (not found). This result cannot be, most likely, cached, so it does not work for you, I think.
UPDATE:
.
apache http ( http://hc.apache.org/httpclient-3.x/logging.html). , , URL-. , (http://hc.apache.org/downloads.cgi). org.apache.http.impl.client.cache.CachedResponseSuitabilityChecker. .
Btw. http://muvireviews.com/celebrity/full_view/41/Shahrukh-khan :
Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0, max-age=0, no-cache, no-store
- if CachedResponseSuitabilityChecker:
if (HeaderConstants.CACHE_CONTROL_NO_CACHE.equals(elt.getName())) {
log.trace("Response contained NO CACHE directive, cache was not suitable");
return false;
}
.
;)