Hose Em Down!
A foam is any substance formed by trapping a lot of gas bubbles in a liquid or solid. Solid foams, like polyurethane, polystyrene and polisocyanurate are excellent thermal insulators.
Besides causing anticipation every time I order a Guiness, liquid foams have excellent fire extinguishing abilities (particularly in fighting class B fires -- burning flammable liquids).
Though not a foam, fiberglass insulation is naturally fire retardant. Owens Corning's PINK brand is an industry leader, not only for its durability but also for its long-standing licensing agreement with the Pink Panther cartoon.