Lộ trình đang học Current learning path Current learning path

Application Services Application Services Application Services

Lộ trình cho website hoặc API đang chạy: kiến trúc, khi nào dùng từng lớp, rồi lab bấm theo trên dashboard. A path for a live website or API: the architecture, when to use each layer, then a dashboard lab. A path for a live website or API: the architecture, when to use each layer, then a dashboard lab.

Về trang lộ trình Track home Track home

Phần 4: Content delivery & tăng tốc website Part 4: Content delivery & website speed ផ្នែក 4: Content delivery និងល្បឿន website · Bài 1/5 Lesson 1/5 Lesson 1/5

Kiến thức Knowledge Knowledge Khoảng 12 phút About 12 min About 12 min

Cache: cái gì được lưu, cái gì phải bỏ qua Cache: what to store, and what to skip Cache: what to store, and what to skip

Nên đọc trước: Read first: Read first: WAF, rate limit và bot: ba lớp khác nhau WAF, rate limiting, and bots: three different layers WAF, rate limiting, and bots: three different layers

Ý chính Main ideas Main ideas

Cache giữ bản sao ở mạng Cloudflare để origin không phải trả lời lại. File tĩnh (CSS, JS, ảnh) thường cache được. HTML có đăng nhập hoặc giỏ hàng thì không. Cache keeps a copy on Cloudflare’s network so the origin does not have to answer again. Static files (CSS, JS, images) are usually safe to cache. HTML with a login or a cart is not. Cache keeps a copy on Cloudflare’s network so the origin does not have to answer again. Static files (CSS, JS, images) are usually safe to cache. HTML with a login or a cart is not.

Cách hoạt động How it works How it works

Cache Rule quyết định request nào được cache, cache bao lâu, và khóa cache gồm những gì. Record phải Proxied thì rule mới có tác dụng. HIT nghĩa là Cloudflare trả từ cache. MISS nghĩa là phải hỏi origin. Purge xóa bản đã lưu sau khi bạn đổi file. A Cache Rule decides which requests are cached, for how long, and what is in the cache key. The record must be Proxied or the rule does nothing. HIT means Cloudflare answered from cache. MISS means it had to ask the origin. Purge deletes a stored copy after you change a file. A Cache Rule decides which requests are cached, for how long, and what is in the cache key. The record must be Proxied or the rule does nothing. HIT means Cloudflare answered from cache. MISS means it had to ask the origin. Purge deletes a stored copy after you change a file.

Kiến trúc Architecture Architecture

Chia theo path: /assets có thể cache lâu. /admin, /checkout, /login thì Bypass. Khóa cache mặc định không gồm cookie riêng của bạn. Khóa theo header, cookie, hoặc query string cụ thể là của Enterprise. Bỏ qua query string, hoặc sắp thứ tự query, thì có trên mọi gói. Split by path: /assets can cache for a long time. Bypass /admin, /checkout, and /login. The default cache key does not include your private cookies. A key that includes headers, cookies, or specific query strings is Enterprise. Ignoring the query string, or sorting it, is available on every plan. Split by path: /assets can cache for a long time. Bypass /admin, /checkout, and /login. The default cache key does not include your private cookies. A key that includes headers, cookies, or specific query strings is Enterprise. Ignoring the query string, or sorting it, is available on every plan.

Khi nào dùng When to use it When to use it

Dùng Cache Rule khi bạn muốn nói rõ: path này cache, path kia không. Đo hit ratio sau khi bật, đừng chỉ dựa vào cảm giác. Use Cache Rules when you want to say, in writing, which path is cached and which is not. Check the hit ratio after you turn them on. Do not trust a feeling. Use Cache Rules when you want to say, in writing, which path is cached and which is not. Check the hit ratio after you turn them on. Do not trust a feeling.

Khi nào không dùng When not to use it When not to use it

Đừng Cache Everything trên HTML có session. Đừng mặc định Argo Smart Routing hay Cloudflare Images có sẵn trong gói zone: cả hai là sản phẩm riêng. Giá nằm trên dashboard, bài này không báo giá. Do not use Cache Everything on HTML that has a session. Do not assume Argo Smart Routing or Cloudflare Images are included in the zone plan: both are separate products. The price is on the dashboard. This lesson is not a quote. Do not use Cache Everything on HTML that has a session. Do not assume Argo Smart Routing or Cloudflare Images are included in the zone plan: both are separate products. The price is on the dashboard. This lesson is not a quote.

Gói và giới hạn Plans and limits Plans and limits

Cache Rules có trên mọi gói. Số rule (2026-11-11): Free 10, Pro 25, Business 50, Enterprise 300. Khóa cache theo header, cookie hoặc query cụ thể là Enterprise. Argo Smart Routing là add-on (nay nằm trong Smart Shield); xem giá trên dashboard. Cloudflare Images là sản phẩm riêng — bài này không khẳng định nó nằm trong gói nào. Nguồn: https://developers.cloudflare.com/cache/how-to/cache-rules/ https://developers.cloudflare.com/cache/how-to/cache-keys/. Cache Rules exist on every plan. Rule counts (2026-11-11): Free 10, Pro 25, Business 50, Enterprise 300. A cache key that uses headers, cookies, or specific query strings is Enterprise. Argo Smart Routing is an add-on (now part of Smart Shield); see the price on the dashboard. Cloudflare Images is a separate product — this lesson does not assign it to a plan. Sources: https://developers.cloudflare.com/cache/how-to/cache-rules/ https://developers.cloudflare.com/cache/how-to/cache-keys/. Cache Rules exist on every plan. Rule counts (2026-11-11): Free 10, Pro 25, Business 50, Enterprise 300. A cache key that uses headers, cookies, or specific query strings is Enterprise. Argo Smart Routing is an add-on (now part of Smart Shield); see the price on the dashboard. Cloudflare Images is a separate product — this lesson does not assign it to a plan. Sources: https://developers.cloudflare.com/cache/how-to/cache-rules/ https://developers.cloudflare.com/cache/how-to/cache-keys/.

Không phải báo giá. Đối chiếu docs và dashboard. Kiểm tra lần cuối: 2026-11-11. Not a price quote. Check the docs and the dashboard. Last checked: 2026-11-11. Not a price quote. Check the docs and the dashboard. Last checked: 2026-11-11.

Thuật ngữ Glossary Glossary

  • Cache key Cache key Cache key

    Những phần của request mà Cloudflare dùng để phân biệt hai bản cache. The parts of a request Cloudflare uses to tell two cached copies apart. The parts of a request Cloudflare uses to tell two cached copies apart.

  • Purge Purge Purge

    Xóa bản cache cũ sau khi bạn đổi nội dung. Delete an old cached copy after you change the content. Delete an old cached copy after you change the content.

Mở bảng thuật ngữ → Open the glossary → Open the glossary →

Làm lab Do the lab Do the lab

Lab nằm ở bài riêng. Đọc ý chính trước, rồi mở lab. Labs live on their own pages. Read the main ideas, then open a lab. Labs live on their own pages. Read the main ideas, then open a lab.

Ví dụ triển khai (Cloudflare Resources) Deployment examples (Cloudflare Resources) Deployment examples (Cloudflare Resources)

Ví dụ chính thức từ Cloudflare Resources — gợi ý theo chủ đề bài học trong lộ trình này. Official examples from Cloudflare Resources — matched to this lesson within this path. Official examples from Cloudflare Resources — matched to this lesson within this path.

Tutorial Tutorial Tutorial Application Services Application Services Application Services

Thêm ngoại lệ với Page Rules Add exceptions with Page Rules បន្ថែមករណីលើកលែងជាមួយ Page Rules

Page Rules cho phép bạn bỏ qua cài đặt khu vực cho các mẫu URL cụ thể. Chuyển hướng các URL cũ với một chuyển hướng 301 vĩnh viễn

Page Rules let you override zone settings for specific URL patterns. Redirects old URLs with a 301 permanent redirect.

Page Rules អនុញ្ញាតឱ្យអ្នកបដិសេធការកំណត់តំបន់សម្រាប់លំនាំ URL ជាក់លាក់។ បញ្ជូនបន្ត URLs ចាស់ជាមួយនឹង 301 ប្តូរទិសអចិន្ត្រៃយ៍។

Tìm hiểu thêm Learn more ស្វែងយល់បន្ថែម
Tutorial Tutorial Tutorial Application Services Application Services Application Services

Azure quản lý HSM Azure Managed HSM Azure គ្រប់គ្រង HSM

Hướng dẫn này sử dụng Managed HSM của Microsoft Azure để triển khai một VM với keyless SSL daemon. Làm theo các hướng dẫn này để triển khai máy chủ không chìa khóa của bạn.

This tutorial uses Microsoft Azure's Managed HSM to deploy a VM with the Keyless SSL daemon. Follow these instructions to deploy your keyless server.

ការបង្រៀននេះប្រើ Microsoft Azure's Managed HSM ដើម្បីដាក់ពង្រាយ VM ជាមួយនឹងដេមិន Keyless SSL ។ អនុវត្តតាមការណែនាំទាំងនេះ ដើម្បីដាក់ឱ្យប្រើម៉ាស៊ីនមេដែលគ្មានសោរបស់អ្នក។

Tìm hiểu thêm Learn more ស្វែងយល់បន្ថែម

Xem thêm ví dụ trong lộ trình → More examples in this path → More examples in this path →

Tài liệu Cloudflare Developers Cloudflare Developer docs Cloudflare Developer docs

Học xong hoặc muốn đổi hướng? Finished or want a different path? Finished or want a different path?

Ba lộ trình độc lập — mỗi lộ trình chỉ gồm bài học và tài liệu trong phạm vi đó. Chọn lộ trình khác khi sẵn sàng, không cần học song song. Three independent paths — each includes only lessons and materials for that scope. Switch when you are ready; no need to study paths in parallel. Three independent paths — each includes only lessons and materials for that scope. Switch when you are ready; no need to study paths in parallel.

Chưa chắc — làm bài chọn lộ trình Not sure — use the path selector Not sure — use the path selector · So sánh cả ba lộ trình Compare all three paths Compare all three paths