Spray foam comes in two flavors, open cell and closed cell, and provides both parts of the building envelope - the insulation and the air barrier. The building envelope should completely surround the conditioned space, and the insulation needs to be in contact with the air barrier. Since spray foam is both insulation and air barrier, proper alignment of insulation and air barrier is guaranteed. http://m.youtube.com/e/ggLAUsiuI_o

Light-density open-cell SPF is commonly known as half-pound foam. It is a semi-rigid material with a sponge-like appearance that expands during installation and creates small, open cells that are filled with carbon dioxide. Due to its ability to expand during the application process, it fills cracks, crevices and voids and adheres to irregular surfaces or substrates to form an air sealing insulation.[12]

Where Can I Purchase Spray Foam Insulation

The insulation at eaves level will leave your loft area comfortable for use and free from condensation. By installing the insulation at rafter level, it keeps the loft void warmer and prevents condensation build-up, which can otherwise occur when increasing insulation at ceiling level. The warmer, drier, cleaner roof space eliminates the risk of pipes and tanks freezing.
I recently did a remodel project for my basement using spray foam insulation. The original builder has used fiberglass, but I wanted the best insulation i could find. We chose closed cell foam because it blocks moisture from getting into the house. It took one day to install and was fumey for about 3 hours. It was pretty cool watching it being done. It comes out as a liquid and then expands rapidly into a foam. It's quick! Then they took a types of saw to shave it flat with the wall studs so we could then go ahead and drywall. https://youtube.com/watch?v=ggLAUsiuI_o

This stuff works GREAT ! I live in an older mobile home that had a lot of leaks when I moved-in. I worked for two years to locate and fix them all. Now I simply go over all of the repaired places once a year just to be sure everything is OK. NO LEAKS FOR 4 YEARS NOW!!  Others here use "sno proof" or something that does not stop leaks. When I tell them about my success, they don't seem to want to pay the$ for this superior product. Too bad!. I used the tape in  repairing the leaks.

Spray Foam Roof Insulation