register resoyrce provider for caching