with date
This commit is contained in:
parent
3fc9bef623
commit
d5c7884e20
11
index.php
11
index.php
@ -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>
|
Loading…
Reference in New Issue
Block a user