I'm pretty sure that I am running FindFirst / FindNextUrlCacheEntry (), then DeleteUrlCacheEntry () is the only way to make sure that it works in all versions of IE.
Alternatively, you can use FindFirst / FindNextUrlCacheGroup () and DeleteUrlCacheGroup () with "CACHEGROUP_FLAG_FLUSHURL_ONDELETE", but you must make sure that you delete only what you want. For example, history, cookies, and temporary Internet files are all cache groups.
source
share