Preheat oven to 400° F and get out one of your well-loved sheet pans.
Put the cauliflower florets, sliced shallot, and garlic in a bowl, sprinkle with the spices, drizzle with the olive oil, and toss or stir to coat everything evenly. Tumble everything out onto a rimmed sheet pan, give it a shake to ensure everything is in a single layer, and bake for 30 minutes, flipping things over with a spatuala about half-way, until caramelized to your liking.