Fix cache provider options in modResource::clearCache()