Rewrite: Use has_proxy_cache_valid.