added db caching to public posts/tags