<!-- Source: https://docs.squirro.com/en/latest/technical/admin/troubleshooting/flush-cache.html -->
# Flushing Caches

Squirro uses caches to speed up common actions, such as queries. This section shows how to flush these caches when necessary.

## Introduction

In rare circumstances, the Squirro caches may become stale. If this occurs, visit the [Squirro Support website](https://go.squirro.com/support) and submit a technical support request.

## Caches

There are two different caches managed in Redis. They are stored in different databases (see [Accessing Servers](../operations/accessing-servers.md#admin-access) for background):

- db7: the query cache, which stores the full query responses. Updating this cache can be disabled by using the `update_cache` option in the item query API call.
- db9: the generic HTTP cache which is used to cache internal calls to the various [internal web services](../operations/services.md#admin-services).

### Flush Cache (Squirro 2.4.6 and Newer)

To flush the caches, restart redis-server-cache:

```bash
systemctl restart redis-server-cache
```
