Add a cached resource loader