Using cash technique we can save intermediate results in memory only.
Using persist we can save the intermediate results in five storage levels which are memory only, memory and disc, disc only, memory only serialisation and memory and disc serialisation