Commit 45d52643 authored by marclaporte's avatar marclaporte

changing expires for modules and plugins from 10 years to 1 month, as discussed on the mailing list

parent 9959377b
......@@ -16,7 +16,7 @@
* Cached by language to allow translations
*/
header('content-type: application/x-javascript');
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+3600*24*365*10) . ' GMT');
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+3600*24*30) . ' GMT');
require_once 'tiki-filter-base.php';
......
......@@ -20,7 +20,7 @@
*/
header('content-type: application/x-javascript');
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+3600*24*365*10) . ' GMT');
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+3600*24*30) . ' GMT');
require_once 'tiki-filter-base.php';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment