In the early days of insulating attics, people believed the insulation was a heat source. That’s not the case, as the insulation is actually a barrier between two areas of different temperatures. As for the “hot roof” theory, the unvented attic system could make the temperature of the roof go up a little, but this increase won’t cause damage to your shingles.
SPF, a spray-applied cellular plastic, is made by mixing chemicals to create foam. Those chemicals react very quickly, expanding on contact to create foam that insulates, air seals and provides a moisture barrier. When properly installed, SPF forms a continuous barrier on walls, around corners and on contoured surfaces. It resists heat transfer very well and is an effective solution for reducing unwanted air infiltration through cracks, seams, and joints.
A. You can use closed-cell spray foam that way if you want, although you should realize that the spray foam will prevent the roof sheathing from drying inward. This approach should only be used if the roof sheathing is bone dry, because it will never dry when sandwiched in this manner. Most building scientists would prefer to see fiberglass rather than closed-cell spray foam under the roof sheathing in this type of assembly.