StaticController: cache gravatar images

fixes #7061