WAF 觸發測試 (Web Application Firewall)

測試 CDN WAF 是否正確攔截惡意請求。點擊按鈕發送帶有攻擊 Payload 的請求。
預期結果:啟用 WAF 時應收到 403 Forbidden;未啟用時收到 200 OK

[Ready] 點擊上方按鈕開始 WAF 測試...

圖片格式測試 (Image MIME Types)

測試各種圖片格式的 Content-Type Header。

字型格式測試 (Font MIME Types & CORS)

測試各種字型格式的 Content-Type 及 CORS 設定。
CORS Header: Access-Control-Allow-Origin 必須正確設定

WOFF2 Format (test-font.woff2)
The quick brown fox jumps over the lazy dog. 1234567890
WOFF Format (test-font.woff)
The quick brown fox jumps over the lazy dog. 1234567890
TTF Format (test-font.ttf)
The quick brown fox jumps over the lazy dog. 1234567890
OTF Format (test-font.otf)
The quick brown fox jumps over the lazy dog. 1234567890

影片串流測試 (Video Range Request)

測試 HTTP Range Request 支援(拖拉進度條時 CDN 應支援斷點續傳)。
Header: Accept-Ranges: bytes | Content-Range

音訊格式測試 (Audio MIME Types)

測試各種音訊格式的 Content-Type Header。

JSON 資料測試 (application/json)

使用 JavaScript Fetch API 請求 JSON 檔案,測試:
Content-Type: application/json | 壓縮 (Gzip/Brotli) | 快取控制

Loading JSON data...

檔案下載測試 (Download & Large Files)

測試檔案下載與大檔傳輸穩定性。

壓縮檔 (Archives)

大檔傳輸測試 (Large File Transfer)

快取控制測試 (Cache Control)

測試 CDN 快取行為,觀察以下 Header:
Cache-Control | ETag | Last-Modified | X-Cache (HIT/MISS)

Loading cache-related headers...

Cache Busting 範例連結:

./style.css?v=2.0.0