WAF 觸發測試 (Web Application Firewall)
測試 CDN WAF 是否正確攔截惡意請求。點擊按鈕發送帶有攻擊 Payload 的請求。
預期結果:啟用 WAF 時應收到 403 Forbidden;未啟用時收到 200 OK。
[Ready] 點擊上方按鈕開始 WAF 測試...
圖片格式測試 (Image MIME Types)
測試各種圖片格式的 Content-Type Header。
small-100kb.jpg
image/jpeg (~100KB)
medium-500kb.jpg
image/jpeg (~500KB)
medium-500kb.jpeg
image/jpeg (~500KB)
large-2mb.png
image/png (~2MB)
SPIN_DIAVEL_V4_RED.01.webp
image/webp
字型格式測試 (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
sample-1080p.mp4
video/mp4 (1080p)
sample-720p.mp4
video/mp4 (720p)
音訊格式測試 (Audio MIME Types)
測試各種音訊格式的 Content-Type Header。
sample.mp3
audio/mpeg
sample.ogg
audio/ogg
sample.wav
audio/wav
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)