අපි ඉවරයි අයියේ.. මුන්ට කියන තරම් වැඩ බෑ 

prompt
prompt
Code:
Write a custom cache class named CustomWebViewCache that will maintain a disk cache for a WebView2 instance.
1. Define a cache options class named "CacheOptions", that will have a cache base path, browser profile name as properties.
2. CustomWebViewCache will be initialized with CacheOptions passed to constructor. Actual cache directory is obtained via Path.Combine( cache base path, browser profine name)
3. CustomWebViewCache will have a method RegisterBrowser with WebView2 instance passed as an argument. All event handler registration stuff done here.
4. CustomWebViewCache will have a Clear method
5. CustomWebViewCache will maintain a list of contenttypes that can be cached. Images,Audio files are cached by default.
6. CustomWebViewCache will respect cache expiration settings specified in responses.
7. Suggest anything else