WordPress.org

Plugin Directory

Changeset 634460


Ignore:
Timestamp:
12/05/12 16:43:22 (17 months ago)
Author:
andy
Message:

Batcache: Add REQUEST_METHOD to the cache keys.

Location:
batcache/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • batcache/trunk/advanced-cache.php

    r548676 r634460  
    245245$batcache->keys = array( 
    246246    'host' => $_SERVER['HTTP_HOST'], 
     247    'method' => $_SERVER['REQUEST_METHOD'], 
    247248    'path' => ( $batcache->pos = strpos($_SERVER['REQUEST_URI'], '?') ) ? substr($_SERVER['REQUEST_URI'], 0, $batcache->pos) : $_SERVER['REQUEST_URI'], 
    248249    'query' => $batcache->query, 
  • batcache/trunk/readme.txt

    r627857 r634460  
    6363== Changelog == 
    6464 
     65= trunk = 
     66* Add REQUEST_METHOD to the cache keys. Prevents GET requests receiving bodyless HEAD responses. This change invalidates the entire cache at upgrade time. 
     67 
    6568= 1.1 = 
    6669* Many bugfixes and updates from trunk 
Note: See TracChangeset for help on using the changeset viewer.