const createPage = function (msg) { return `
`; }; function handleRequest(request, response) { response.setHeader("Cache-Control", "no-store"); response.setHeader("Content-Type", "text/html"); let currentState = getState("reload_nonbfcached_srcdoc"); let srcdoc = "pageload:" + currentState; if (currentState != "second") { setState("reload_nonbfcached_srcdoc", "second"); } else { setState("reload_nonbfcached_srcdoc", ""); } response.write(createPage(srcdoc)); }