Changeset 4109 for trunk/wp-includes/functions.php
- Timestamp:
- 08/22/2006 05:31:53 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r4091 r4109 736 736 @ header('Cache-Control: no-cache, must-revalidate, max-age=0'); 737 737 @ header('Pragma: no-cache'); 738 } 739 740 function cache_javascript_headers() { 741 $expiresOffset = 864000; // 10 days 742 header("Content-type: text/javascript; charset=" . get_bloginfo('charset')); 743 header("Vary: Accept-Encoding"); // Handle proxies 744 header("Expires: " . gmdate("D, d M Y H:i:s", time() + $expiresOffset) . " GMT"); 738 745 } 739 746
Note: See TracChangeset
for help on using the changeset viewer.