Make WordPress Core


Ignore:
Timestamp:
08/22/2006 05:31:53 PM (18 years ago)
Author:
ryan
Message:

cache_javascript_headers() from masquerade. fixes #3059 #2799

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/js/autosave.js.php

    r4107 r4109  
    11<?php @require_once('../../wp-config.php');
    2 $expiresOffset = 3600 * 24 * 10;        // 10 days util client cache expires
    3 
    4 header("Content-type: text/javascript; charset: UTF-8");
    5 header("Vary: Accept-Encoding"); // Handle proxies
    6 header("Expires: " . gmdate("D, d M Y H:i:s", time() + $expiresOffset) . " GMT");
    7 
    8 
     2cache_javascript_headers();
    93?>
    104var autosaveLast = '';
Note: See TracChangeset for help on using the changeset viewer.