SuperCache!

Brought to you by Chris Schnurr 1 May 1997

Either, book mark this page, or copy the following HTML code into your bookmark file !


Locally Cached Files

Aweb Cache Page Browser
Aweb Cache Image Browser
IBrowse Cache Page Browser
IBrowse Image Cache Browser

Documentation

Introduction

Ever wondered what was inside your cache ?
Frustrated at your cache browser that only reads one cache ?
Annoyed at cache browsers that try and retrieve remote documents ?
Wanted to web browse off line ?
SuperCache is for you !

SuperCache is a number of scripts designed to compile nice Html Files from your Aweb and IBrowse Caches. It uses standard AmigaDos commands (well, List. mainly.) to create html files that list all image and html files lurking in your cache directories.

This means that with SuperCache, you can view all your caches (aweb, Ibrowse, voyager, etc) from all HTML 2 compatable browsers. view cached Ibrowse files on Aweb for speed, or view cached Aweb graphics on IBrowse for better renders on low screen colours.

Installation Instructions

  1. Unpack Archive. Preferably to Ram.
  2. copy
    supercache
    aweb_cache_htm
    aweb_cache_img
    ibrowse_cache_htm
    ibrowse_cache_img
    
    To somewhere in your path. I placed them in C:
  3. edit the scripts. the comments in them tell you what to change.
  4. Remember to assign www: or edit this bit
  5. book mark this file in your favourite browser.

Usage

From cli, or RAmiga + E (execute command) type:-
aweb_cache_htm		to create bookmark of all htm
			pages in your Aweb cache
aweb_cache_img		to create bookmark of all images
			(gif/jpg/jpeg/mpg/mpeg)

ibrowse_cache_htm	to create bookmark of all htm
			pages in your Ibrowse cache
ibrowse_cache_img	to create bookmark of all images
			(gif/jpg/jpeg/mpg/mpeg)
supercache			to create bookmark of all images, 
			and web pages in both aweb and 
			ibrowse cache directories - executes 
			all four above scripts in turn
Note This May take Time - depending on how full your caches Are !!!

Problems

If you get a 'command not found' error, type
protect c:aweb_cache_htm +s
protect c:aweb_cache_img +s
protect c:ibrowse_cache_htm +s
protect c:ibrowse_cache_img +s
protect c:supercache +s

Techie bit

Current Amiga Browsers write a comment to each cached file, which is the ful URL of the remotely located file. Using AmigaDOS's LIST command, you can get at this comment from the CLI. What SuperCache does is simply format a list command output into a nice HTML file, and then sort it, for ease of viewing.

Although Voyager scripts have not been implemented, it would be *very* simple to add them - just duplicate the *_img or *_htm scripts, substituting voyager paths for Aweb or Ibrowse paths. The scripts files themselves included comments on how to do this.

Get a life TechHead Bit

Essentially, all SuperCache does is a recursive List command. With a little editing, you could use SuperCache to hunt through your entire hard drive for any particular pattern of files - you could make an HTML index file which listed every single iff of jpeg on your hard drive. Might take some time to find them all though..
Authored by :
C.J.Schnurr, one afternoon, before Voting for the next UK Government.
Try this for more Amiga stuff