Cloudflare Demo
Interactive demonstrations of Cloudflare features running on this origin. Each section showcases a different capability with live tests, response inspection, and copy-paste curl commands.
Cache Inspector
Fetch assets through Cloudflare and inspect caching behaviour. Click ▶ on any result to expand full response headers.
| Asset | Status | Cache | RTT | Size | Age | Content-Type | CF-Ray | PoP | |
|---|---|---|---|---|---|---|---|---|---|
| No results yet. Click an asset or Fetch All to begin. | |||||||||
Cache Status Reference
Image Transformations
Cloudflare resizes, reformats, and compresses images on-the-fly at the edge using a special URL prefix: /cdn-cgi/image/<options>/<source>. No origin-side code required.
Browser Integrity Check (BIC)
BIC is enabled on /shop/*. Cloudflare inspects the User-Agent header and blocks bots with a 403 before the request reaches the origin.
Empty User-Agent
No UA header โ BIC rejects this with a 403.
curl -v -A "" https://<domain>/shop
Known bad bot UA
A scanner signature that BIC recognises as malicious.
curl -v -A "masscan/1.0" https://<domain>/shop
Normal browser UA
A standard browser User-Agent passes BIC and reaches the origin.
curl -v -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" \
https://<domain>/shop
Blocked requests appear in Security → Events in the Cloudflare dashboard, filtered by action Block and source BIC.
Rocket Loader
Globally enabled โ Cloudflare rewrites <script> tags to type="text/rocketscript" and injects an async loader. Explicitly disabled on /admin/*.
Any non-admin page (e.g. /)
In View Source (Ctrl+U), scripts become type="text/rocketscript". A rocket-loader.min.js is injected. In DevTools → Network, filter by rocket.
# Rocket Loader ON โ look for "rocketscript" and the injected loader
curl -s https://<domain>/ | grep -iE "rocket|rocketscript"
Admin pages (/admin/)
Scripts appear exactly as the origin sent them โ no rewriting, no injected loader. JavaScript executes synchronously.
# Rocket Loader OFF โ scripts are unmodified, no "rocket" in output
curl -s https://<domain>/admin/ | grep -iE "rocket|rocketscript"
Compare side by side: open both pages and do View Source (Ctrl+U) to see the difference.