Please enable JavaScript to view this site.

Rewritten August 2023

The WEBCACHE feature involves checking a web location for files that are not found in the normal search path; if found online, they are downloaded and cached locally for subsequent use. Syntax:

.SET WEBCACHE action {,options,...}

.SET WEBCACHE REPO url

Actions:

Action

Description

ENABLE

Enable (for images and files subject to local cache)

DISABLE

Disable web cache; reset all options

CLEAR

Clear local cache

REFRESH

Clear from cache only those file(s) matching specification

 

Options:

Option

Description

PROG

download/cache programs (RUN,LIT,SBX)

OPENI

download/cache files opened for input

LOOKUP

download/cache files subject to LOOKUP

DLL

download DLLs to bin if writeable; else webcache

ATE

forward  WEBCACHE options to ATE (see below)

ALL

same as PROG,OPENI,LOOKUP,DLL

 

url:

specifies a web directory to search for missing files

Examples

.SET WEBCACHE ENABLE,PROG,OPENI,LOOKUP

.SET WEBCACHE REPO http://www.mysite.com/repo

ATE vs Server WEBCACHE

By default, WEBCACHE operates on the server side. But in many cases it makes as much sense for it to operate on the client side, which you can activate adding the ATE option to your list of SET WEBCACHE options. Note that if you want to assign different options and/or repository directory to ATE, use the following sequence:

.SET WEBCACHE REPO <repo for ATE>

.SET WEBCACHE ENABLE,<options...>,ATE   ! forward options & repo to ATE

.SET WEBCACHE REPO <repo for server>

.SET WEBCACHE ENABLE,<options...>       ! set server options only

 

See Also

History

2016 October, A-Shell 6.3.1529, 1531, 1532: WEBCACHE function added to A-Shell.

Created with Help+Manual 9 and styled with Premium Pack Version 5 © by EC Software