ArangoDB v3.11 reached End of Life (EOL) and is no longer supported.
This documentation is outdated. Please see the most recent stable version.
HTTP interface for the query results cache
The query results cache HTTP API lets you control the cache for AQL query results
See The AQL query results cache for a description of the feature and the configuration options.
List the entries of the AQL query results cache
Retrieve the entries stored in the AQL query results cache of the current database:
curl --header 'accept: application/json' --dump - 'http://localhost:8529/_api/query-cache/entries'
Clear the AQL query results cache
Clear the AQL query results cache of the current database:
curl -X DELETE --header 'accept: application/json' --dump - 'http://localhost:8529/_api/query-cache'
Get the AQL query results cache configuration
Retrieve the global configuration of the AQL query results cache:
curl --header 'accept: application/json' --dump - 'http://localhost:8529/_api/query-cache/properties'
Set the AQL query results cache configuration
Adjusts the global properties for the AQL query results cache.
Changing the properties may invalidate all results currently in the cache.
- The result cache configuration settings to change.
Change some properties of the global configuration of the AQL query results cache:
curl -X PUT --header 'accept: application/json' --data-binary @- --dump - 'http://localhost:8529/_api/query-cache/properties' <<'EOF'
{
"mode": "demand",
"maxResults": 32
}
EOF