Microchannel thermal performance optimization utilizing porous layer configurations