Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问这个工具可以解决wkwebview的缓存问题吗? #11

Open
zhaowweny opened this issue Aug 1, 2018 · 2 comments
Open

请问这个工具可以解决wkwebview的缓存问题吗? #11

zhaowweny opened this issue Aug 1, 2018 · 2 comments

Comments

@zhaowweny
Copy link

最近初学swift做一个Mac应用,用到了wkwebview,但是遇到一个问题,当打开几个页面后再返回到之前的页面,会重新发送网络请求重载页面,网上查了一下,貌似wkwebview不支持缓存,wkwebview的macOS SDK更加不多,所以想知道这个工具能不能解决这个问题。谢谢!

@yeatse
Copy link
Owner

yeatse commented Aug 5, 2018

静态资源的缓存可以由服务器的响应头控制的,这个东西不太适合做缓存。。。你总不能自己重新实现一遍 rfc7234 吧。。。

@zhaowweny
Copy link
Author

zhaowweny commented Aug 6, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants