configure viewdef caching