---
title: "Caching in CUE Assist"
canonical: "https://docs.cuesystem.com/space/TAM/469401603/Caching%20in%20CUE%20Assist"
format: markdown
---
In this section, you can set parameters for prefetching timelines and floorplans. API will periodically prefetch data from the calendar server to speed up CUE Assist.

![image-20260830-140448.png](media://57592295-9bc6-4205-87bb-b83dd5d3189e)


### Caching / Prefetching


**Max request duration in minutes**

The maximum allowed duration of one prefetching run. Unsuccessfully fetched timelines/floorplans will not be prefetched until the next run of prefetching.


**Number of days prefetched**

A number of days that will be prefetched from the current date. 60 means 2 months from now on will be prefetched from API.


**Maximum chunk size**

The maximum number of schedules that will be put in one request to the Calendar server. The Maximum chunk size will be set to a maximum of 20 if the connection agent server type is Google.


**Maximum per-resource retries**

If a timeline/floorplan for one resource is not queried from calendar server successfully, APi will try to query it again. Maximum per-resource retries means the number of retries before the resource is skipped until next prefetching run.


**Maximum total retries**

If a timeline/floorplan for one resource is not queried from calendar server successfully, APi will try to query it again. Retries are done in additional requests. Maximum total retries means the number of maximum additional requests in one prefetching run.


**How long to cache prefetched items in minutes**

Cache expiration time in minutes.