Refactor `auto_purge_post_terms_cache()`. See: websharks/quick-cache#288