[Plugin: Yet Another Related Posts Plugin] Slight SQL improvement suggestion
-
Hello mitcho,
I experienced a good improvement to client-side pageload times by adding
scoreanddateto the related cache primary key:ALTER TABLE wp_yarpp_related_cache DROP PRIMARY KEY , ADD PRIMARY KEY ( score , date , reference_ID , ID )in this order. It essentially removes the table fetch (adds
using index) in the SQL foryarrp_cache_enforceand removes theusing filesortpass (and addsusing index) in the SQL forget_posts. Faster all around.Just an FYI. Happy Holidays.
http://wordpress.org/extend/plugins/yet-another-related-posts-plugin/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Yet Another Related Posts Plugin] Slight SQL improvement suggestion’ is closed to new replies.