Loading...

Client code (what produces the visible content)

// Runs in the browser AFTER Cloudflare has already fetched the response
document.addEventListener("DOMContentLoaded", function () {
  document.getElementById("app").innerHTML = `
    <h1>Client-Side Rendered Page</h1>
    <p>This content is injected by JS in the browser.
    Cloudflare never sees it.</p>
  `;
});