How to Make It
Preheat oven to 400°. Melt butter with oil in a large skillet over medium-high heat. Add onions, sugar, and salt; cook, stirring occasionally, 8 minutes or until onions soften and just begin to turn golden. Reduce heat to medium, and cook, stirring often, 20 minutes or until onions turn deep golden brown. Stir in vinegar, scraping bottom of skillet to deglaze pan. Cook, stirring often, until vinegar is reduced by half. Stir in thyme.
Cook bacon in a large skillet over medium-high heat 8 to 10 minutes or until crisp. Drain on paper towels; finely crumble.
Combine cheese and next 3 ingredients in a medium bowl. Stir in onions and bacon. Transfer to a 2-cup baking dish.
Bake 20 minutes or until mixture bubbles and top is lightly golden.