Don't cache HEAD request to avoid getting stale content with fresh etag.
Updated version.
Updated test case.