Press the tofu for 10-15 minutes. Use a tofu press or wrap the tofu block in a paper towel and place it on a plate. Cover the top with a flat surface, like a cutting board, and put something heavy on top.
Cut the tofu into strips or cubes, about ½ inches in width. Combine the soy sauce and rice vinegar in a shallow bowl, then add the tofu. Toss to cover all sides.
Right before baking or air frying, toss the tofu with 1 tablespoon of cornstarch.
To bake: Preheat the oven to 425 F (220 C) Place the tofu, separated, in a single layer, on a parchment-lined baking tray (for the oven). Bake for 15 minutes, then flip the tofu and bake for an additional 5-10 minutes. To air fry: Preheat the air fryer or the air fryer to 375 F (190 C). Air fry for 12 minutes, flipping halfway through. The tofu should be brown and crispy.
To make the stir fry, heat a large skillet or wok to medium-high heat. If desired, toast the sesame seeds for 1-2 minutes. Transfer them to a small dish and set aside.
Start with a hot pan, then add the onions, stirring constantly for 2-3 minutes until the onions begin to brown.
Add the ginger, garlic, and chili slices. Stir for another 30 seconds so they mix with the onions.
Add the cauliflower florets and cook them until they begin to brown. Add ¼ of a cup of water, cover the pan, and cook them for a few minutes more until they are brown and tender.
Mix in the cumin, chili flakes, and salt. Then, add the coriander and baked tofu.
Serve the stir fry over rice or noodles. Add toasted sesame seeds on top if desired.