tmp-platform-swr/web/index.php
Pierre Martin 55647a6ff1 JS date
2021-03-08 04:50:29 +01:00

9 lines
275 B
PHP

<?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>