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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
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+01:00)
Ce sujet contient 1 réponse, a 2 voix.
Dernière mise à jour par Nigel Il y a 6 années et 4 mois.
Assisté par: Nigel.