Cache managing
Preloading or deleting files from cache as well as whole cache deletion.
These operations are performed asynchronously and their response contains task_id. You can check status of the task using task_id (described below).
Attention!
-
The following restrictions apply:
- Limit the number of requests to API: no more than 10 requests per minute.
- Limit the number of paths in cache cleanup requests per minute: not more than 300.
- Maximum number of paths in a cache cleanup request: not more than 300.
- Maximum number of paths in a cache load request: no more than 10.
- Maximum number of paths in a request to download playlists: not more than 1.
- Limit the number of requests to clear the entire cache: no more than 3 requests per hour.
-
If the "Caching based on query string" option is enabled for the resource (
consider_args: true), each path in the list must include the same arguments with which the file was cached. For example, if the file was requested as/image.jpg?size=large&format=webp, that exact path must be provided — without the arguments, it will not be found in the cache.