gpt4 book ai didi

android - 移动应用程序是否相互共享缓存并与默认浏览器共享缓存

转载 作者:行者123 更新时间:2023-11-29 12:41:16 24 4
gpt4 key购买 nike

Android 和 iPhone 的应用程序是否相互共享 Web 内容缓存并与默认的手机浏览器共享?

即时,如果我尝试从浏览器或其他应用程序已加载的应用程序中打开网页,是否会从缓存中读取或访问互联网?

最佳答案

对于 iOS,答案是否定的,应用程序不共享一个网络缓存,每个应用程序都有自己的网络数据缓存。 Cookie 在 iOS 中也是私有(private)的,不能在应用程序之间共享。
Apple 有以下信息:

iOS Note: Cookies are not shared among applications in iOS.
Link: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSHTTPCookieStorage_Class/Reference/Reference.html

更新:来自 NSURLSession guid

Private storage support for caches, cookies, credentials, and protocols in a way that is specific to a single session https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/URLLoadingSystem/Articles/UsingNSURLSession.html

关于android - 移动应用程序是否相互共享缓存并与默认浏览器共享缓存,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24848321/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com