开发者 |
automattic
andy orensol markjaquith vnsavage batmoo yoavf |
---|---|
更新时间 | 2020年3月28日 08:16 |
PHP版本: | 3.2 及以上 |
WordPress版本: | 5.3.2 |
advanced-cache.php
to the /wp-content/
directorywp-config.php
to activate Batcache:define('WP_CACHE', true);
</head>
closing tag you should see some Batcache stats.advanced-cache.php
batcache.php
to the /wp-content/plugins/
directory.127.0.0.1:11211
.Batcache can be used anywhere Memcached is available. WP-Super-Cache is preferred for most blogs. If you have more than one web server, try Batcache.
Batcache was written to help WordPress.com cope with the massive and prolonged traffic spike on Gizmodo's live blog during Apple events. Live blogs were famous for failing under the load of traffic. Gizmodo's live blog stays up because of Batcache. Actually all of WordPress.com stays up during Apple events because of Batcache. The traffic is twice the average during Apple events. But the web servers and databases barely feel the difference.
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.