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

How to force use of cache when resource are gotten by WebResourceRequested #4708

Closed
dbfrog opened this issue Jul 26, 2024 Discussed in #4702 · 0 comments
Closed

How to force use of cache when resource are gotten by WebResourceRequested #4708

dbfrog opened this issue Jul 26, 2024 Discussed in #4702 · 0 comments

Comments

@dbfrog
Copy link

dbfrog commented Jul 26, 2024

Discussed in #4702

Originally posted by dbfrog July 24, 2024
Hi,

I'm using WebView2 version 124.0.2478.109. My WebView2 is registered to a custom requestType (named "ProvideFile") and Source property is set to an external app's Uri. When the WebResourceRequested event fires up, the external App is able to get all the Bundle Files by which WebView2 can run the correctly the hosted web app. All works fine, no problem.
By design I know that all the files provided by the external app are always the same. So I'd like to avoid to claim those files each time. In other words I'd like to get them from the browser cache starting from the second time I claim them.

How can I force cache usage when all the application's bundle file are provided by WebResourceRequested mechanism?

I'll appreciate any help you can provide,

@victorhuangwq victorhuangwq closed this as not planned Won't fix, can't repro, duplicate, stale Jul 29, 2024
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