Cache in memory and disc