Navigation
API > API/Runtime > API/Runtime/WebBrowser > API/Runtime/WebBrowser/IWebBrowserSingleton
Description
Delete old/unused web cache paths. Some Web implementations (i.e CEF) use version specific cache folders, this call lets you schedule a deletion of any now unused folders. Calling this may resulting in async disk I/O.
| Name | ClearOldCacheFolders |
| Type | function |
| Header File | /Engine/Source/Runtime/WebBrowser/Public/IWebBrowserSingleton.h |
| Include Path | #include "IWebBrowserSingleton.h" |
void ClearOldCacheFolders
(
const FString & CachePathRoot,
const FString & CachePrefix
)
Parameters
| Name | Remarks |
|---|---|
| CachePathRoot | the base path used for saving the webcache folder |
| CachePrefix | the filename prefix we use for the cache folder (i.e "webcache") |