From 5418dc152eccc53af2af9e13ce3928bf4e9eeb3b Mon Sep 17 00:00:00 2001 From: Charlie Andrews Date: Wed, 11 Oct 2017 09:45:20 -0500 Subject: [PATCH] Add docs for recalculate caches --- docs/api-reference.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/api-reference.md b/docs/api-reference.md index df1bfd82a..887bd5e5f 100644 --- a/docs/api-reference.md +++ b/docs/api-reference.md @@ -412,3 +412,14 @@ Response: {"version":"v0.6.0"} ``` +### Recalculate Caches + +`POST /recalculatecaches` + +Recalculates the caches on demand. The cache is recalculated every 10 +secondes by default. This endpoint can be used to recalculate the cache +before the 10 second interval. This should probably only be used in +integration tests and not in a typical production workflow. + +Response: `204 No Content` +