Add code for caching rangers retrieved from DB.