Code should be in web

This commit is contained in:
Pierre Martin
2021-03-08 04:48:56 +01:00
parent d5c7884e20
commit ac53f8cd67

9
web/index.php Normal file
View File

@@ -0,0 +1,9 @@
<?php
header('Cache-Control: max-age=20, stale-while-revalidate=80');
sleep(10);
print('This is a slow test. ' . date('Y-m-d H:i:s'));
?>
<p id="js-date"></p>
<script type="text/javascript">
document.getElementById('js-date').innerText(new Date().toISOString());
</script>