diff options
Diffstat (limited to 'images')
-rw-r--r-- | images/marks/rotate.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/images/marks/rotate.php b/images/marks/rotate.php index 9b0a3fe..41a203a 100644 --- a/images/marks/rotate.php +++ b/images/marks/rotate.php @@ -10,7 +10,10 @@ $degrees = $_GET['r'] * 90; // Content type
header('Content-type: image/jpeg');
-//TODO Add cache
+//TODO Update Cache
+header("Cache-Control: private, max-age=10800, pre-check=10800");
+header("Pragma: private");
+header("Expires: " . date(DATE_RFC822,strtotime(" 2 day")));
$simage = @imagecreatefrompng($emblem);
if(!$simage) {
|