happy healthy plant maximizes growth, including that stuff.
So, i'd key in on avoiding evaporating those with lower thresholds for boiling. Some are lost in as little as upper 70s F, if not mistaken (25-26 C?). Controlling the environment, in addition to optimal growing, would be the best bet to maximizing terps.
rates of changes... slowing down the loss as best you can (ambient environment) and increasing produciton as best you can (ambient environment + nutes + light etc)... these things may not always point in same direction, as the plant grows better at times with warmer temps, so there may be some give -and-take as far as what is 'best' for this... so many factors to consider!