You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
<?php
|
|
header('Cache-Control: s-max-age=10');
|
|
sleep(5);
|
|
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">
|
|
document.getElementById('js-date').innerText = new Date().toISOString();
|
|
</script>
|