Cache the shasum calculation