Add comments to time intervals we cannot express with the constants. Fix a comment. props SergeyBiryukov. fixes #20987.

git-svn-id: https://develop.svn.wordpress.org/trunk@22531 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2012-11-10 18:13:09 +00:00
parent 8af2f4674f
commit ee5bc76549
4 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ function get_file($path) {
return @file_get_contents($path);
}
$expires_offset = 31536000;
$expires_offset = 31536000; // 1 year
header('Content-Type: application/x-javascript; charset=UTF-8');
header('Vary: Accept-Encoding'); // Handle proxies