【问题标题】:Where do these Internet Explorer history files come from on Windows Azure?这些 Internet Explorer 历史文件在 Windows Azure 上是从哪里来的?
【发布时间】:2013-07-17 09:18:24
【问题描述】:

当我的 Azure Web 角色在 Windows 2008 R2 (osFamily="2") 上运行时,我看到角色临时文件夹包含以下文件:

C:\Resources\temp\Guid.MyRoleName\RoleTemp\Cookies\index.dat
C:\Resources\temp\Guid.MyRoleName\RoleTemp\History\History.IE5\desktop.ini
C:\Resources\temp\Guid.MyRoleName\RoleTemp\History\History.IE5\index.dat
C:\Resources\temp\Guid.MyRoleName\RoleTemp\Temporary Internet Files\Content.IE5\RandomSequence\desktop.ini
C:\Resources\temp\Guid.MyRoleName\RoleTemp\Temporary Internet Files\Content.IE5\RandomSequence\desktop.ini
C:\Resources\temp\Guid.MyRoleName\RoleTemp\Temporary Internet Files\Content.IE5\desktop.ini
C:\Resources\temp\Guid.MyRoleName\RoleTemp\Temporary Internet Files\Content.IE5\index.dat
C:\Resources\temp\Guid.MyRoleName\RoleTemp\Temporary Internet Files\Content.IE5\RandomSequence\desktop.ini
C:\Resources\temp\Guid.MyRoleName\RoleTemp\Temporary Internet Files\Content.IE5\RandomSequence\desktop.ini

这些文件的创建日期大致等于我的角色实例OnStart() 被调用的那一刻。我不直接做任何明显使用 Internet Explorer 的事情。

这仅适用于 Windows 2008 R2 (osFamily="2") 而不是 Windows 2008 (osFamily="1")。

这些文件来自哪里,我该如何摆脱它们?

【问题讨论】:

    标签: internet-explorer azure windows-server-2008-r2 browser-history temporary-files


    【解决方案1】:

    Index.dat 文件是 WinINET 网络组件使用的索引(有关更多详细信息,请参阅http://blogs.msdn.com/b/ieinternals/archive/2011/03/19/wininet-temporary-internet-files-cache-and-explorer-folder-view.aspx),IE 和 Windows Explorer shell 也使用它来跟踪访问过的 URL 和文件夹(又名“历史记录”)等内容)。

    Internet Explorer、Office、Windows Shell 和许多其他用户级进程都使用 WinINET 组件。

    这些文件给你带来了什么问题?

    【讨论】:

    • 嗯,首先,我不明白为什么它们只在我切换到 osFamily=2 时出现,这让我觉得我无法控制任何事情。那么他们的创作肯定需要一些时间,而这段时间可以用于一些不那么无用的事情。最后,我怎么知道其中有一百万个文件没有出现并占用了所有磁盘空间?
    • Windows Server 2008 R2 是基于 Win7 的代码库,而 Windows Server 2008 是基于 Vista 的。 Win7 很可能在 Vista 没有的场景中引入了缓存文件的使用,从而导致了这种情况。您认为这些文件“无用”并且可能有“数百万个”的假设似乎没有任何真实信息?
    • 实际上应该是相反的。我会认为这些文件是无用的,除非另有证明,我怀疑它们会浪费我所有的空间,直到证明不是这样。我很偏执,因为我不想在周六深夜收到监控警报。
    猜你喜欢
    • 2011-08-25
    • 1970-01-01
    • 2016-07-23
    • 2021-12-14
    • 2010-11-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多