3 $mimeType = $_GET['mimeType'];
6 header('Content-Type: ' . $mimeType);
7 header('Content-Length: ' . filesize($name));
8 if (isset($_GET['expires']))
9 header('Cache-control: max-age=0');
11 header('Cache-control: max-age=86400');
12 header('ETag: dprimage');
14 if ($_SERVER['HTTP_IF_NONE_MATCH'] == 'dprimage') {
15 header('HTTP/1.1 304 Not Modified');
19 header('Content-DPR: '. $dpr);