Added October 2016
Note: this documentation is in progress, and is pretty rough. It is complete as far as it goes, but has not yet been organized into a normal and coherent form.
Dev Note 1529.0.2 of 30 September 2016
SET.LIT 1.2(157) now supports options to manage and configure the new webcache feature:
Option |
Description |
(blank) |
display current webcache settings |
? |
display usage information |
ENABLE |
enable |
DISABLE |
disable |
CLEAR |
erase all files in local webcache |
REFRESH <spec> |
remove files from cache matching spec |
REPO <url> |
set the web repository directory |
<option,...> |
set options... |
options:
Option |
Description |
PROG |
activate webcache for programs (RUN, LIT, SBX) |
OPENI |
activate webcache for sequential input file opens |
LOOKUP |
activate webcache for LOOKUP operations |
Dev Note 1531.0.2 of 05 October 2016
SET.LIT 1.2(158) adds new flags DLL, ALL, and ATE.
DLL flag causes A-Shell to attempt web download of missing DLLs from repository; if possible, it downloads them directly into the executable directory, else into the webcache directory.
.SET WEBCACHE ENABLE,DLL
ALL flag sets all options but not ENABLE itself, equivalent to PROG, OPENI,LOOKUP,DLL and any others to come in the future.
.SET WEBCACHE ENABLE,ALL
ATE pseudo-flag tells SET to pass the webcache flags and repo info to the ATE client. 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
History
2016 October, A-Shell 6.3.1529, 1531, 1532: WEBCACHE function added to A-Shell. The module includes a basic description, the SET.LIT options for WEBCACHE, new functions WEBRUN.LIT, MX_WEBCACHE and ? tab(-10, AG_WEBCACHE). The file cmd:testcache.cmd has been added to A-Shell as a convenience to make it easy to test the webcache; it contains the commands SET WEBCACHE REPO http://www.microsabio.net/testrepo and SET WEBCACHE ENABLE,ALL,ATE.