add cache setting and expiry on both wpPosts and wpPostByPermalink, though it is disabled in most tests, and thus essentially untested.