tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

html_cache-test-page.html (755B)


      1 <!-- Any copyright is dedicated to the Public Domain.
      2     http://creativecommons.org/publicdomain/zero/1.0/ -->
      3 <!doctype html>
      4 
      5 <html>
      6  <head>
      7    <meta charset="utf-8"/>
      8    <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
      9    <meta http-equiv="Pragma" content="no-cache" />
     10    <meta http-equiv="Expires" content="0" />
     11    <title>Network Monitor cache test page</title>
     12  </head>
     13 
     14  <body>
     15    <p>Cache test</p>
     16 
     17    <script type="text/javascript">
     18      "use strict";
     19 
     20      window.sendRequestWithStatus = status => {
     21        const xhr = new XMLHttpRequest();
     22        xhr.open("GET", `sjs_content-type-test-server.sjs?sts=${status}&fmt=html`, true);
     23        xhr.send(null);
     24      }
     25    </script>
     26  </body>
     27 
     28 </html>