Cache VS Unavailable Files
October 5, 2006 6:29 AM Subscribe
BrowserCacheFilter: I’m turning an unused XP box and big monitor into a full-screen browser based online digital sign. How do I replace web errors (ex: page not found) with cached versions of the page or file from when it was available?
I’m turning an unused XP box and big monitor into a full-screen browser based online digital sign. No input just up-to-date on-line information.
I have an ASP page online with content from my online database and iframes and images from other sites that refreshes every 15 minutes.
I have turned off all of the pop-up alerts and warnings in the OS.
Now I need to eliminate the error pages in the browser when a file is not available because it has moved or I have lost my Internet connection.
I would like to get rid of the web errors by having the browser look for the content and cache it for display if it is available. If the files are not available-- because my internet connection is bad or the file has moved-- I want the old content to remain on screen: therefore eliminating those unsightly page errors on my digital sign.
What is the best way to do this Oh, Great Metafilter Collective?
I’m turning an unused XP box and big monitor into a full-screen browser based online digital sign. No input just up-to-date on-line information.
I have an ASP page online with content from my online database and iframes and images from other sites that refreshes every 15 minutes.
I have turned off all of the pop-up alerts and warnings in the OS.
Now I need to eliminate the error pages in the browser when a file is not available because it has moved or I have lost my Internet connection.
I would like to get rid of the web errors by having the browser look for the content and cache it for display if it is available. If the files are not available-- because my internet connection is bad or the file has moved-- I want the old content to remain on screen: therefore eliminating those unsightly page errors on my digital sign.
What is the best way to do this Oh, Great Metafilter Collective?
This thread is closed to new comments.
eg. if you're reloading an iframe, use Javascript to grab the required page content first, and if it has downloaded correctly then insert into the iframe.
A warning though... browsers (particularly IE) can have memory leaks with Javascript, so it would need some thorough soak testing.
posted by bruceyeah at 7:12 AM on October 5, 2006