In a algebraic topology course, I recently saw the proof of the theorem that the $n-$ and $m-$ dimensional vector spaces, $n\neq m$, are not isomorphic (in $\mathbf{Top}$). The proof used the compactification of both of these spaces (which are $n-$ and $m-$spheres respectively) and then the reduced homology functor which shows that these are not isomorphic. For this to work it is necessary that the compactification preserves isomorphisms. It was shortly (in elementary terms) explained why that is the case. I wonder now wether the compactification is functorial in general, or wether it just preserves isomorphisms in this specific case.
tl;dr: Question is the title.