>>21528288
Ok so, people are saying spices have fat-soluble compounds in them, and maybe that's true, but by cooking them in oil you are just gonna toast them into crisp, and at that point it's just burnt plant matter. Also, there's clearly also tons of water soluble stuff in herbs.
Based on some rando's test on youtube, if you put in spices in the beginning, the volatile compounds are gonna evaporate away by the time the food is ready and putting them just before finishing gives more aromatic flavor.
If I apply my my tea making knowledge to spices, then all the best and most characteristic flavors are extracted in the beginning, and longer brewing only makes it more bitter. Also, prolonged boiling destroys polyphenols. So in general I would say it's better to not overcook or burn the spices. Also, I'm a bit skeptical whether dry oil without water will extract everything you can. Water is very good solvent. Personally, I would add spices with small amount of water when close to finishing up. Maybe with the fat mixed in with water, the oil might help extract and absorb some of the flavor compounds as a bonus.
Also, like with tea, I think that the quality and freshness of the spices matters a lot. I've occasionally tried to buy some cheap shit, and it's pretty much unrecognizable level of shit.