Heat the olive oil or butter in a large saucepan over medium heat. Add the onion and garlic and cook for 3-4 minutes until softened and fragrant.
Pour in the pasta and stock. Bring to a boil, then reduce to a simmer, stirring occasionally to stop the pasta sticking.
When the pasta is almost cooked, after about 8-10 minutes, stir in the double cream or crème fraîche and let it bubble gently so the sauce begins to thicken.
Add the cheddar and Parmesan gradually, a handful at a time, stirring constantly until each addition is fully melted before adding the next.
Taste and adjust the seasoning, then serve hot, garnished with chopped parsley and a little extra Parmesan.