Using sfa.util.cache to cache result of get_resources