-
Notifications
You must be signed in to change notification settings - Fork 55
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Please document how to clear the cache when using WebView2 within Unity #3727
Comments
@RubenGarcia our WebView Unity plugin exposes a subset of what's available with the underlying CoreWebView2 control. You can find the current API surface area here: https://learn.microsoft.com/en-us/windows/mixed-reality/develop/advanced-concepts/webview2-unity-plugin. We don't currently expose a method for clearing the cache. We can look into that. |
Yes, clearing the cache would be very useful. |
@RubenGarcia are you interested in clearing everything? Browsing history, cookies, temp files, etc.? |
My usecase is being able to change the html in a webpage, and seeing the changes in WebView2. Right now, if I change the webpage, Webview2 shows the old, cached page. |
Another thing which I would like exposed is a way to get and set the ZoomFactor. |
Could you give a few more details on your scenario? I did some quick testing, but didn't hit a caching issue. Is the page hosted locally? How is the HTML modified? I assume you're refreshing and expecting the updated content? |
I browsed |
@RubenGarcia how are you closing the app? |
In hololens, tap on wrist, click on the button at the bottom of the menu, then long press on app name in menu, then close. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I tried
which gives
The text was updated successfully, but these errors were encountered: