【问题标题】:Reload Document into Google Docs Viewer (Clear Cache)将文档重新加载到 Google 文档查看器(清除缓存)
【发布时间】:2011-03-01 09:01:14
【问题描述】:

Google Docs Viewer (http://docs.google.com/viewer) 在第一次查看后创建一个文档缓存。要了解我的意思,请尝试以下操作:

  1. file.pdf 上传到您的服务器(即http://example.com)。
  2. 访问http://docs.google.com/viewer?url=http://example.com/file.pdf
  3. 上传新文件以替换 file.pdf(但使用相同的名称)。
  4. 重访http://docs.google.com/viewer?url=http://example.com/file.pdf

Google 文档查看器仍显示旧的 file.pdf

有人知道如何解决这个问题吗?

(我已经尝试过清除浏览器缓存,切换浏览器,并使用其他谷歌帐户登录以查看链接。)

【问题讨论】:

    标签: caching google-docs clear-cache


    【解决方案1】:

    似乎没有办法清除缓存。虽然根据我的经验,Google 倾向于每天自动执行一次。

    【讨论】:

      【解决方案2】:

      如果您将动态查询字符串参数附加到文件名,可能缓存将不起作用。

      例如:http://docs.google.com/viewer?url=http://example.com/file.pdf?time=3454354

      【讨论】:

      • 只对附加参数起作用,没有变化
      【解决方案3】:

      我加了?time=0

      似乎有效。

      【讨论】:

        猜你喜欢
        • 2018-06-27
        • 1970-01-01
        • 2012-08-19
        • 1970-01-01
        • 2021-10-01
        • 1970-01-01
        • 2011-06-22
        • 2011-02-17
        • 1970-01-01
        相关资源
        最近更新 更多