Heat olive oil in a large skillet over medium heat.
Add the onion and garlic to the skillet and sauté until the onion becomes translucent.
Add the sliced cabbage to the skillet and stir well to combine.
Season with salt, pepper, and optional caraway seeds. Cook, stirring occasionally, until the cabbage has softened and browned slightly, about 15 minutes.