“Meta Accelerator” can speed up meta query.
- create table for meta query
- add filter that change meta query to use new table
- not support WP_Query has multi posttype
- Upload the entire
meta-accelerator folder to the
- 通过 WordPress 的“插件”菜单以激活本插件。
For basic usage, you can also have a look at the plugin homepage.
- A question that someone might have
An answer to that question.
This plugin can greatly speed up your wordpress by flattening your meta tables.
I tested it on a WooCommerce installation with ~30,000 products with many meta for products. Before this plugin, the products listing in admin section took a lot of time to load, and individual product edit page was impossible to bring up. With this plugin, they come up quite fast after creating a flattened meta table for product post type.
What it does is to take metas recorded for a post type and plant these metas into pre created flat tables. This makes reading/querying any post based on meta very easy. The plugin also hooks into proper filters for meta queries to take over meta querying.
The plugin code is clean, neat, OOP and well crafted.
Overall a great job.
If developed, this plugin could help a lot of people. Actually, WordPress core should have included such functionality from the start.
“Meta Accelerator” 是开源软件。 以下人员对此插件做出了贡献。贡献者