查看Google上缓存页面的所有副本?

问题描述 投票:1回答:2

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

例如,我知道我可以使用此:

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

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

caching browser-cache google-search
2个回答
0
投票

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

<!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>

0
投票

您可以使用archive.org服务。

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

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

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

© www.soinside.com 2019 - 2024. All rights reserved.