page: replace output caching by article object
[minimedit.git] / thumb / index.php
index aadbf4f91eb664d1abc0109ca477d5e4aa71559c..4549b44e6ab67385c52d6168da8b8b529ea16fe4 100644 (file)
@@ -1,6 +1,4 @@
 <?php
-ob_clean();
-
 list ($size, $imgpath) = explode('/', ltrim($Args, '/'), 2);
 $imgpath = preg_replace('{^(?=[0-9]+/)}', 'data/', $imgpath, 1);
 
@@ -28,7 +26,7 @@ catch (Throwable $e) {
        exit;
 }
 
-header('Cache-Control: max-age=2628000, immutable');
+header('Cache-Control: max-age=2628000');
 header('Content-type: '.mime_content_type($target));
 readfile($target);
 exit;