1Bring a large pot of lightly salted water to a boil. Cook spaghetti in the boiling water, stirring occasionally, until cooked through but firm to the bite, about 7 minutes. Drain and toss in a bowl with olive oil, then refrigerate until cool, about 15 minutes.