if (responses.size() >= maxEntries) return null;
String cacheControl = uc.getHeaderField("Cache-Control");
if (cacheControl != null && cacheControl.indexOf("no-cache") >= 0) {
return null;
}
SimpleCacheRequest request = new SimpleCacheRequest();
SimpleCacheResponse response = new SimpleCacheResponse(request, uc);
responses.put(uri, response);
return request;