Added parameters saveToStorage and sendCacheResult