User Browser
Requests https://<accelerated-domain>/…. It may also keep its own private browser cache.
Cloud Infrastructure Assignment
A static website hosted on GitHub Pages acts as the origin server. Alibaba Cloud CDN edge nodes cache its files and serve them to visitors through an accelerated domain.
The badge only reports which hostname served this page. CDN activity is proven with response headers and console evidence, not by this page.
Section B
These values identify the submission and change between Version 1 and Version 2.
⚠️ Placeholder values detected. Edit SITE_CONFIG at the top of js/app.js before publishing.
Section C
Every request follows the same path. Only the edge decides whether the origin is contacted.
Requests https://<accelerated-domain>/…. It may also keep its own private browser cache.
A hostname you own (e.g. cdn.example.com) whose DNS CNAME points to the CNAME generated by Alibaba Cloud, so DNS routes users to a nearby edge.
Terminates HTTPS, applies cache rules (TTL per path/extension), answers from cache on a hit, or goes back to origin on a miss.
Serves the source files from the repository at <username>.github.io. The CDN sends that value as the back-to-origin Host header.
Section D
The page fetches api/news.json with { cache: "no-store" }.
That skips the browser cache only; the CDN edge can still return a cached copy,
which is exactly what the purge test observes.
Configuration plan
Planned rules for the Alibaba Cloud console. Specific paths outrank broad extension rules.
| Priority | Match | TTL | Reason |
|---|---|---|---|
| Highest | /api/news.json | 1 minute | Data changes often; stale JSON is the costliest mistake. |
| High | /index.html | 10 minutes | Entry page must pick up new versions quickly. |
| Medium | jpg, jpeg, png | 7 days | Images rarely change and are the heaviest bytes. |
| Medium | css, js | 1 day | Change with releases; a day balances hit ratio and freshness. |
| Medium | pdf | 3 days | Downloads are static but may be revised occasionally. |
Section E
A short original PDF explaining the origin/CDN setup and how to test caching. Served as a static file and cached by the pdf rule.
Section F
curl -I headers (Via, Age, cache-status headers) and the Alibaba Cloud console.