Better illustrate the purpose

This commit is contained in:
Pierre Martin
2021-03-08 15:40:45 +01:00
parent 74b63f1f6f
commit 9eac89cf6d
4 changed files with 20 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
<?php
header('Cache-Control: s-max-age=10');
sleep(5);
print('This is a slow instant test. ' . date('Y-m-d H:i:s'));
print('This is a slow test with 10s caching. ' . date('Y-m-d H:i:s'));
?>
<p id="js-date"></p>
<script type="text/javascript">