Changeset 2269546
- Timestamp:
- 03/28/2020 12:14:57 AM (4 years ago)
- Location:
- batcache/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
batcache/trunk/advanced-cache.php
r1538715 r2269546 70 70 71 71 var $noskip_cookies = array( 'wordpress_test_cookie' ); // Names of cookies - if they exist and the cache would normally be bypassed, don't bypass it 72 72 var $cacheable_origin_hostnames = array(); // A whitelist of HTTP origin `<host>:<port>` (or just `<host>`) names that are allowed as cache variations. 73 74 var $origin = null; // Current Origin header. 73 75 var $query = ''; 74 76 var $genlock = false; … … 90 92 } 91 93 return false; 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 92 112 } 93 113 … … 353 373 } 354 374 375 376 377 378 379 380 381 382 383 384 385 355 386 if ( ! include_once( WP_CONTENT_DIR . '/object-cache.php' ) ) 356 387 return; … … 394 425 395 426 // Things that define a unique page. 396 if ( isset( $_SERVER['QUERY_STRING'] ) ) 427 if ( isset( $_SERVER['QUERY_STRING'] ) ) 397 428 parse_str($_SERVER['QUERY_STRING'], $batcache->query); 429 430 431 432 398 433 399 434 $batcache->keys = array( … … 404 439 'extra' => $batcache->unique 405 440 ); 441 442 443 406 444 407 445 if ( $batcache->is_ssl() ) … … 548 586 549 587 // It is safer to omit the final PHP closing tag. 550 -
batcache/trunk/batcache.php
r1538704 r2269546 6 6 Author: Andy Skelton 7 7 Author URI: http://andyskelton.com/ 8 Version: 1. 48 Version: 1. 9 9 */ 10 10 -
batcache/trunk/readme.txt
r1395244 r2269546 3 3 Tags: cache, memcache, memcached, speed, performance, load, server 4 4 Requires at least: 3.2 5 Tested up to: 4.56 Stable tag: 1. 45 Tested up to: 6 Stable tag: 1. 7 7 8 8 Batcache uses Memcached to store and serve rendered pages. … … 59 59 = What does it have to do with bats? = 60 60 61 Batcache was named "supercache" when it was written. (It's still called that on WordPress.com.) A few months later, while "supercache" was still private, Donncha released the WP-Super-Cache plugin. It wouldn't be fun to dispute the name or create confusion for users so a name change seemed best. The move from "Super" to "Bat" was inspired by comic book heroes. It has nothing to do with the fact that the author's city is home to the [world's largest urban bat colony](http://www.batcon.org/ home/index.asp?idPage=122).61 Batcache was named "supercache" when it was written. (It's still called that on WordPress.com.) A few months later, while "supercache" was still private, Donncha released the WP-Super-Cache plugin. It wouldn't be fun to dispute the name or create confusion for users so a name change seemed best. The move from "Super" to "Bat" was inspired by comic book heroes. It has nothing to do with the fact that the author's city is home to the [world's largest urban bat colony](http://www.batcon.org/). 62 62 63 63 == Changelog == 64 64 65 = trunk = 65 = 1.5 = 66 67 * Add stats for cache hits 68 * PHP 4 constructors are deprecated in PHP7 69 * Removed "HTTP_RAW_POST_DATA" variable replaced with input stream check 70 * Use Plugins API rather than the global variable 71 * Set page gen time to request start if possible 72 * Don't use get_post() when cleaning post cache, use already passed $post object 73 * Only cache GET or HEAD 74 * Add Opt-in CORS GET request cache. 75 = 1.4 = 76 * Misc updates 77 78 = 1.3 = 79 * Code cleanup, multi-dc support improvements 80 81 = 1.2 = 66 82 * Add REQUEST_METHOD to the cache keys. Prevents GET requests receiving bodyless HEAD responses. This change invalidates the entire cache at upgrade time. 67 83
Note: See TracChangeset
for help on using the changeset viewer.