【问题标题】:View all copies of cached page on Google?在 Google 上查看缓存页面的所有副本?
【发布时间】:2013-10-29 04:23:24
【问题描述】:

我目前正在处理一个项目,该项目处理显示来自 Google 的页面的缓存版本。但是,它们似乎只向您显示最近缓存的页面。

例如,我知道我可以使用这个:

http://webcache.googleusercontent.com/search?q=cache:stackoverflow.com

但是如何查看 Google 多年前缓存的 stackoverflow.com 的其他缓存副本?

【问题讨论】:

    标签: caching browser-cache google-search


    【解决方案1】:

    您可以使用 archive.org 服务。

    您的示例 URL 为 https://web.archive.org/web/*/stackoverflow.com。 您将看到带有您页面副本的日历链接。

    如果您想查看最后一个副本,URL 将稍作更改https://web.archive.org/web/stackoverflow.com

    对于类似的任务,我使用https://cachearchive.com。您不必每次都构建长 URL。

    【讨论】:

      【解决方案2】:

      我想出了一个使用缓存页面的网络过滤器解决方案,这可能会有所帮助

      <!DOCTYPE html>
      <html>
      <title>View Text Only Cached Page</title>
      <head>
                      <script language="javascript" type="text/javascript">
                          function urlGen(f)
                              {
                                  var i1 = "http://webcache.googleusercontent.com/search?q=cache:";
                                  var i2 = f.intranet.value;
                                  var i3 = "&hl=en&gl=ca&strip=1";
      
                                  var fullURL = i1 + i2 + i3;
                                  f.action = i1 + i2 + i3;
      
                                  return i1 + i2 + i3;
                              }
                      </script>
      </head>
      <body>
      <div id="row2">
                      <!-- Intranet Search -->
                      <form action="google.com" onSubmit="window.location.href=urlGen(this)" method="post" style="width:350px">
                      <fieldset>
                      <legend>View Text-only Cached Page</legend>
                      <input type="text" id="intranet" size="45" value="insert link"
                          onFocus="this.value = ''"
                          onBlur="this.value = 'insert link'" / >
      
                  <br>
      <div style="width:300px;">
      paste or type the address of the webpage you would like to view in a text only cached version and press "Enter".
      <br/><br/>
      <b>If a result is not found try adding "/" at the end of the submitted address.</b>
      </div>
      </fieldset>
      </form>
      </div>
      
      
      
      </body>
      </html>

      【讨论】:

        猜你喜欢
        • 2018-02-21
        • 2013-11-05
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多