Heat oil in a large nonstick skillet over medium heat. Add caraway seeds; cook, stirring constantly, until fragrant and lightly toasted, about 30 seconds.
Add onion and salt; cook, stirring often, until softened, 3 to 5 minutes.
Add cabbage; cook, stirring often, until very soft and tender, 10 to 15 minutes.
Stir in vinegar. Remove from heat and set aside, uncovered, at room temperature. Wipe the skillet clean.
Spread 1 side of each bread slice with about 1 teaspoon mayonnaise. Spread the other side of each bread slice with ½ teaspoon mustard.
Place 1 slice of Cheddar on the mustard side of 4 bread slices. Top each with cabbage and onion mixture (about ½ cup per sandwich). Top with apple slices and the remaining bread slices, mayonnaise-sides up.
Heat a large nonstick skillet over medium-high heat. Add 2 sandwiches; cook until toasted on both sides and the cheese is melted, 2 to 3 minutes per side.
Repeat with the remaining 2 sandwiches. Cut in half crosswise; serve warm.
