> For the complete documentation index, see [llms.txt](https://docs.vngcloud.vn/vng-cloud-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vngcloud.vn/vng-cloud-document/vcdn/chi-tiet-tinh-nang/tuy-chinh-cac-tinh-nang-cache.md).

# Caching

## Overview <a href="#tong-quan" id="tong-quan"></a>

**Caching** is a core function of the vCDN system, which helps speed up content access by temporarily storing copies of data (such as static files, images, videos, or API data) on edge servers closer to the end user. This not only reduces page load times but also reduces the load on the origin server.

## Detail <a href="#chi-tiet" id="chi-tiet"></a>

Currently, vCDN supports customizing cache features **:** allowing customers to customize cache metrics on the system and on the browser. Specifically:

<figure><img src="/files/PMi3u2zWJBecuNAvc0Tk" alt=""><figcaption></figcaption></figure>

In there:

* **Caching Level** : Determines the CDN cache level. With VOD, vCDN is providing 3 cache levels including: URL without query string only, Skip Query String of URL, URL With Query String.
  * URL Without Query String Only: Do not cache if there is a URL Param in the request.
  * Skip Query String of URL: Skip URL Param when creating Cache.
  * URL With Query String: Cache the entire URL including URL Param.
* **Server Cache Expiration (TTL):** The amount of time that the vCDN system will cache your resources. During this time, the vCDN system will not access the origin server but respond to requests from the vCDN cache. You can choose this time from 30 minutes to 1 year depending on your system's needs.
* **Browser Cache Expiration:** The time vCDN asks the user's browser to cache files locally.
* **Development mode:** This feature allows you to temporarily disable caching on the Edge Server to support testing or testing content during development. All requests will be returned directly from Origin, allowing content to be updated immediately without clearing the cache.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.vngcloud.vn/vng-cloud-document/vcdn/chi-tiet-tinh-nang/tuy-chinh-cac-tinh-nang-cache.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
