Changeset 386177
- Timestamp:
- 05/18/2011 08:36:13 AM (15 years ago)
- File:
-
- 1 edited
-
cdn-sync-tool/trunk/lib/Cdn/Aws.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
cdn-sync-tool/trunk/lib/Cdn/Aws.php
r386174 r386177 103 103 $finfo = function_exists('finfo_open') ? finfo_open(FILEINFO_MIME_TYPE) : false; 104 104 $headers = array('expires' => date('D, d M Y H:i:s', time() + (86400 * 352 * 10)) . ' GMT'); 105 $headers['Cache-Control'] = 'max-age= '.(86400 * 352 * 10);105 $headers['Cache-Control'] = 'max-age=31536000'; 106 106 107 107 list($fileLocation,$uploadFile) = $this->_getLocationInfo($fileArray,$media);
Note: See TracChangeset
for help on using the changeset viewer.