rewrite public profile caching