Support multiple resource types for a resource. Fixes WFE-1228.
Add cached resources.