Problem:
Are there performance reasons to choose taxonomy checkboxes vs a checkboxes custom field?
Solution:
In general taxonomies are more performant than custom fields when it comes to querying posts. Taxonomies are stored in custom tables optimised for the purpose, while custom fields are stored in the general purpose wp_postmeta table. On smaller sites the difference would be too small to notice, on larger sites with more traffic the difference might be noticeable.
Relevant Documentation:
http://ottopress.com/2011/when-to-not-use-a-custom-taxonomy/
https://tomjn.com/2017/02/27/not-post-meta-bad/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
This topic contains 1 reply, has 2 voices.
Last updated by 6 years, 11 months ago.
Assisted by: Nigel.