From c5175d4a06c993ff7f42c16178b6d4db49b7387e Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Mon, 18 Mar 2013 01:32:14 -0700 Subject: Wall orientation achievements - huge commit. --- images/marks/rotate.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'images') 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) { -- cgit v1.2.3