Plugin Directory

Changeset 386177


Ignore:
Timestamp:
05/18/2011 08:36:13 AM (15 years ago)
Author:
Backie
Message:

Changed cache-control

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cdn-sync-tool/trunk/lib/Cdn/Aws.php

    r386174 r386177  
    103103        $finfo = function_exists('finfo_open') ? finfo_open(FILEINFO_MIME_TYPE) : false;
    104104        $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';
    106106
    107107        list($fileLocation,$uploadFile) = $this->_getLocationInfo($fileArray,$media);
Note: See TracChangeset for help on using the changeset viewer.