tmp-platform-swr/web/index.php

9 lines
274 B
PHP
Raw Normal View History

2021-03-08 03:40:44 +00:00
<?php
2021-03-08 03:44:33 +00:00
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>