with date

This commit is contained in:
Pierre Martin 2021-03-08 04:44:33 +01:00
parent 3fc9bef623
commit d5c7884e20

View File

@ -1,4 +1,9 @@
<?php <?php
header('Cache-Control: max-age=20, stale-while-revalidate=80'); header('Cache-Control: max-age=20, stale-while-revalidate=80');
sleep(10); sleep(10);
print('This is a slow test.'); 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>