Timeline for Storing/querying custom date data
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 14, 2014 at 12:52 | vote | accept | Jonnyauk | ||
Jan 14, 2014 at 12:52 | comment | added | Jonnyauk | After thinking this over I think you are right on this - marked as correct answer cheers - I think with the extra query parameters along with some server caching this will work out best compared to a taxonomy ;) | |
Jan 14, 2014 at 12:17 | comment | added | Mike F | Using a taxonomy could work however the query for this would result in a few joins, so I'm not sure what would be the best for performance without benchmarking. "Semantically" post meta seems favourable to me over taxonomies, and if you're truly concerned over performance then implementing things like caching or even moving away from WordPress/PHP might be worth looking into. | |
Jan 14, 2014 at 10:42 | comment | added | Jonnyauk | That's for the tip - WP_Query is getting really powerful with these extra query parameters, it's great ;) However, I wonder if storing as a taxonomy might be more efficient rather than querying against 100/1000's of posts (due to the way that taxonomies/relationships are stored in separate tables away from the posts table?) | |
Jan 14, 2014 at 10:25 | history | answered | Mike F | CC BY-SA 3.0 |