> For the complete documentation index, see [llms.txt](https://query.docs.doyto.win/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://query.docs.doyto.win/zh/pei-zhi/cache.md).

# 缓存

为实体配置缓存：

```yml
doyto:
  query:
    caches: UserEntity, MenuEntity
```
