Fix cache issue when creating post.