MS Windows 10 Edge 动态磁贴系统缓存

MS Windows 10 Edge Live tiles system cache

我已经用数据将路径(轮询 uri)更改为 XML,但 Windows 仍然请求旧路径 xml url.

我按照以下步骤更新 xml url:

  1. 关闭动态磁贴
  2. 取消固定磁贴
  3. MS Edge 浏览器缓存和历史清除
  4. 删除C:/Users/user_name/AppData/Local/Packages/Microsoft.MicrosoftEdge_randomized_hash[=36=中的所有内容]/LocalState/PinnedTiles
  5. 删除C:/Users/user_name/AppData/Local[=中的文件iconcache.db
  6. 磁盘清理

所以我再次启动 MS Edge 并将图块固定到开始菜单。然后我看到 Windows 仍然通过服务器日志请求旧的 xml 路径。

如何更新呢?我想肯定有一些系统缓存...

我已经花了很多时间,非常感谢任何建议!

Microsoft 支持 replied 我的问题。所以原因是 MS Edge 缓存。

这些步骤对我有帮助,希望对其他人也有帮助。

Please try the below steps to reset the edge browser and check. Please know that resetting the Microsoft edge will remove your bookmarks and History. Follow the instruction provided below and check.

a. Navigate to the location:
C:\Users\%username%\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe

b. Delete everything in this folder.

c. Type Windows Powershell in search box.

d. Right click on Windows Powershell and select Run as administrator.

e. Copy and paste the following command.

Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" –Verbose}

以上对我有用。然而,我发现在取消固定你不想要的 tile/s 之后,你可以简单地删除不需要的磁贴 folder/s 在这里:C:\Users\YOUR USERNAME\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\LocalState\PinnedTiles

不是要劫持主题,但如果您想查看所有 bookmarks/favorites,这里有一个入门 powershell 脚本可以为您提供该信息。 您需要 Newtonsoft.Json.dll

    cls;
    [Reflection.Assembly]::LoadFile("C:\Users\<YOUR USER FOLDER>\Documents\WindowsPowerShell\Newtonsoft.Json.dll") |Out-Null;

    $source = "C:\Users\<YOUR USER FOLDER>\AppData\Local\Packages\Microsoft.MicrosoftEdge_8wekyb3d8bbwe\RoamingState";
    $filter = "{*}.json";

    $files = Get-ChildItem -Recurse -Path $source -filter $filter -File;

    foreach ($f in $files)
    {
        $json = Get-Content -Path $f.FullName

        $result = [Newtonsoft.Json.JsonConvert]::DeserializeObject($json);

        $result.Title.ToString()
        $result.URL.ToString()
    }