9 lines
275 B
PHP
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>
|