Cache creation of resources