GA best basement insulation.

Any thoughts or experience with rigid foam insulation under basement slab, or rigid foam insulation adhered to the outside or inside walls of the basement.