diff --git a/example/dist/loader.php b/example/dist/loader.php new file mode 100644 index 0000000..6b29b79 --- /dev/null +++ b/example/dist/loader.php @@ -0,0 +1,32 @@ += $lastModified_unix) { + header($_SERVER['SERVER_PROTOCOL'] . ' 304 Not Modified'); + exit; +} + +if (isset($_GET['sleep'])) { + sleep($_GET['sleep']); +} + +header('Last-Modified: '. $lastModified); + +echo file_get_contents($_GET['file']);