HTTPResponse.fromCache() 方法
🌐 HTTPResponse.fromCache() method
如果响应是从浏览器的磁盘缓存或内存缓存提供的,则为 true。
🌐 True if the response was served from either the browser's disk cache or memory cache.
语法
🌐 Signature
class HTTPResponse {
abstract fromCache(): boolean;
}
返回:
boolean