How to cache the web page locally?

Hermann Liau 100103.1537 at compuserve.com
Wed May 31 03:25:16 PDT 1995


Thanks for the feedback from: mkienenb at arsc.edu (Mike Kienenberger)!

>Unfortunately, the easiest way to do it is to choose browser->View Source (V)
>to open the web page in edit as an html file.  Then save it again as an
>html file.  Unfortunately, this only saves the raw html file.  It won't
>save any of the links that are pointed to (including gif files).

>You might be able to use a real html editor to download and save the
>files, using Omniweb to read them later.
>OpenWrite 1.1 beta by Xanthus is available as a demo and allows you to
>read and write html files as well as open them (a simple web browser).


OmniWeb do cache the web page and save GIFs in /tmp folder.  As I selected the
"Browser->View Source" menu a "ViewSource 999999" was cached in the /tmp and the
html style text file pop-up under Edit.app.  But as long as I quit the app the
cache is gone.  There should be a way to save the cache (hopefully with file
path --not just flat files as in /tmp) in order to browsing them later like the
start.html inside OmniWeb.app folder.  

Oh yes, I did try to save the OmniWeb-xxxx-123456 file from /tmp and edit the
ViewSource file by deleting the original path after the "IMG ... SRC=" into a
flat file.gif.  Then save this ViewSource file as some name with .html
extension.  So I can double click this file icon to open it under OmniWeb
Browser.  It worked fine but the procedure and editing jobs are not the task for
everyday reading!  It does save the disk space but the hyperlinking will be lost
anyway.  It's fun to play and learn the html this way. 

The copy-paste of Web pages into a rftd file is much simpler than this.  And if
you have time, you can go into the /tmp/OminiWeb... folder finding the right gif
images then drag-&-dropping into the rtfd file to replace eixiting tiffs. Thus
you can save disk space by trading-in your time :-)!  It's good to know that
gif-image can work with rtfd as long as a gif viewer exist in the system.  I was
told that WWW was developed at CERN using NeXTSTEP and the first two www sides
(at CERN & NCSA) were running on NeXT Computers.  I hope some body can write an
automatic script that does the trick for us; on NeXTSTEP it won't be too
difficult!

Afterall, I am wishing OmniWeb can cache the html/gif files with the relative
path names and give users the option to save them before quit.  Thus users can
browse the web pages afterwards.  This will save a lot of network resources for
good!

Hermann



More information about the OmniWeb-l mailing list