Changeset 57532
- Timestamp:
- 02/05/2024 03:40:25 AM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/functions.php
r57524 r57532 1549 1549 */ 1550 1550 function cache_javascript_headers() { 1551 $expires Offset = 10 * DAY_IN_SECONDS;1551 $expires_offset = 10 * DAY_IN_SECONDS; 1552 1552 1553 1553 header( 'Content-Type: text/javascript; charset=' . get_bloginfo( 'charset' ) ); 1554 1554 header( 'Vary: Accept-Encoding' ); // Handle proxies. 1555 header( 'Expires: ' . gmdate( 'D, d M Y H:i:s', time() + $expires Offset ) . ' GMT' );1555 header( 'Expires: ' . gmdate( 'D, d M Y H:i:s', time() + $expires_offset ) . ' GMT' ); 1556 1556 } 1557 1557
Note: See TracChangeset
for help on using the changeset viewer.