Mmmmmm..... heating of the mixture DOES play into detonation and a lot of that heat comes from the head. I came across a research article recently that found that a hotter mix burned more slowly. A more extended burn time (like with open chambers or large recesses or the plug waaaay off to the side) is a known contributor to detonation tendencies, due to the longer burn times.