Test Endpoints
Click a button to fetch the endpoint. Each request is logged below with cache indicators.
Static Assets Cacheable
Cacheable Pages Cacheable
Cacheable API Cacheable (short TTL)
Dynamic API No Cache
Cache Key Tests Query/Cookie/Header
Origin Server Log LIVE — every request that hits origin
Key insight: When CDN caching is active, cached URLs will stop appearing here because the CDN serves them without contacting the origin. If a path keeps appearing in this log, it means the CDN is NOT caching it.
Total requests to origin: 0
| # | Timestamp (UTC) | Method | Path | Client IP | X-Forwarded-For | Host | Language | Cookies |
|---|
Browser Fetch Log button clicks only
● CACHE HIT
● CACHE MISS / ORIGIN
● NO-CACHE
● UNKNOWN
| # | Time | URL | Status | Cache Status | Age (s) | X-Origin-Time | X-Origin-Request-Id | Cache-Control | Duration (ms) |
|---|
How to Test CDN Caching
- Without CDN: Every request appears in the Origin Server Log. Click buttons or browse URLs directly — all show up.
- Enable CDN caching in CloudGuard WAF portal with path patterns (e.g.,
/assets/*,/content/*,/api/cached/*). - With CDN active — first request: The URL appears in Origin Server Log (CDN cache MISS — had to fetch from origin).
- With CDN active — second request (same URL): The URL does NOT appear in Origin Server Log — CDN served it from cache! This is the proof CDN caching works.
- Dynamic endpoints (
/api/dynamic/*) should ALWAYS appear in Origin Server Log — they must not be cached. - Use Cache Key Tests to verify different query strings / cookies / headers are cached as separate entries.
- The Browser Fetch Log (below) also shows response headers for button clicks, so you can see
X-Origin-Time,Age, etc.
Suggested CDN Caching Parameters
| Path Pattern | Suggested TTL | Cache Key | Purpose |
|---|---|---|---|
/assets/* | 3600s | URL only | Static assets (CSS, JS, images) |
/content/* | 600s | URL only | Cacheable HTML pages |
/api/cached/* | 60–300s | URL only | Cacheable API responses |
/api/search* | 120s | URL + Query Strings | Query-string aware cache |
/api/personalized* | 120s | URL + Cookies | Cookie-aware cache |
/api/region* | 120s | URL + Headers | Header-aware cache |