Heat the oil in a medium saucepan over medium-high heat.
Add the onions and stir until softened.
Add the vinegar, ketchup, brown sugar, mustard, Worcestershire sauce, chili powder, cayenne pepper and some salt and black pepper to the saucepan and simmer on medium-low heat until thickened, about 35 minutes.