diff options
Diffstat (limited to 'webapp/client')
-rw-r--r-- | webapp/client/client.jsx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/webapp/client/client.jsx b/webapp/client/client.jsx index c5743ae7b..782b74571 100644 --- a/webapp/client/client.jsx +++ b/webapp/client/client.jsx @@ -265,6 +265,15 @@ export default class Client { end(this.handleResponse.bind(this, 'reloadConfig', success, error)); } + invalidateAllCaches(success, error) { + return request. + get(`${this.getAdminRoute()}/invalidate_all_caches`). + set(this.defaultHeaders). + type('application/json'). + accept('application/json'). + end(this.handleResponse.bind(this, 'invalidate_all_caches', success, error)); + } + recycleDatabaseConnection(success, error) { return request. get(`${this.getAdminRoute()}/recycle_db_conn`). |