New AG_WEBCACHE (108) command to get/set webcache options from host:
? tab(-10,AG_WEBCACHE);op{,flags{,url}};chr(127);
Parameters
op
0 to retrieve and 1 to set. On retrieval, the returned string will contain "flags,url" (current webcache flags and repo url).
flags
is a decimal number containing the WCDF_xxx flags
url
if specified, is the web directory for the repository.
Example
? tab(-10,AG_WEBCACHE);"1,";(WCDF_ENABLE or WCDF_ALL); ",http://www.myrepo.com/app1";chr(127); ! enable; set repo
? tab(-10,AG_WEBCACHE);"1,0";chr(127); ! disable
? tab(-10,AG_WEBCACHE);"0";chr(127); ! retrieve
? tab(-10,AG_WEBCACHE);chr(127); ! same (retrieve)
input line, response$ ! input flags,url