added resources to cache