Advanced Post Caching,这个是针对WP_Query
的缓存插件,插件信息:
/* Plugin Name: Advanced Post Caching Description: Cache post queries. Version: 0.2 Author: Automattic Author URI: http://automattic.com/ */
插件地址:https://github.com/Automattic/advanced-post-cache
安装插件:下载后,放到wp-content/plugins/
项目了中,然后在仪表盘激活即可。
经过测试,原来本站资讯
分类查询10
次,激活插件后查询只有4
次。