简体   繁体   中英

Load a down server

I need to load/browse a (JavaScript based) website every day. But the server of this site remains down most of the time. So, I can't always browse this site.

Now, my question: How can I load this site even if it's server is down?

EDIT: There is a registration process in this site. When this website is responsive, I filled up the information (ie user name, email,phone,date of birth, address, country and so many...) and submit it. Then it check all the validation of registration process. If the passes all the validation then it returns a pdf file to download. but any validation fails don't return the pdf file to download.

In this case, can I cache all the web content and execute locally get the registration form as like as the server was responsive.

Additionally, should I run there any script?

Suppose the content of this page that you are trying to access does not have real-time dynamic content then you might want to explore some of the page caching services like Google web cache?

This site offers a variety of such services, http://www.cachedpages.com/

Note that a cached page will not be up to date, you will have to check when it was last cached.

A typical use case for such service would be for example stackoverflow is currently down and my search engine returns me with a stackover page that might contain answer to my question. In such instance I will access the cached page to bypass the downtime.

Alternatively you might want to write a small script to do a "curl" command and try to fetch content of the troublesome web server and cache it locally on your own computer so that when it goes down you can lookup the most recently cached version in your own comp.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM