cache user facing db queries