Cache Control

8 June 2015

  • Release 9.165 - added the entity parameter for the purge action.

8 January 2015

  • Release 7.42 - added the load and save action.

18 December 2014

  • Release 7.31 - added.
cache (Commands)
TypeCorrade progressive command
Commandcache
DescriptionThe cache command manipulates Corrade's internal caches.
Permissionssystem
Parametersgroup, password, action
Last ChangesRelease 9.165 - added the entity parameter for the purge action.

Whenever Corrade looks-up an agent UUID or a group name, etc... More generally, when Corrade uses directory services to fetch some data for you, Corrade also caches the response. You may however want to manipulate the cache and the cache command allows an authenticated group that has the system permission to manipulate Corrade's caches.

Command Required Parameters Required Corrade Permissions Example
cache group, password, action system
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            // purge all caches
            "command", "cache",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "action", "purge",
            "entity", wasListToCSV(
                [
                    "corrade",
                    "nucleus"
                ]
            )
        ]
    )
);
Parameter Possible Value Second Parameter Possible Value Description
action purge entity corrade Purges in-memory caches.
nucleus Purges Nucleus caches.
asset Purges the asset cache.
load Loads the caches from disk.
save Saves the caches to disk.

secondlife/scripted_agents/corrade/api/progressive/commands/cache.txt ยท Last modified: 2017/06/08 19:30 by Wizardry and Steamworks

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.