Let $X$ be a nice space, maybe a manifold, and let $Y$ be a based space.
What sort of conditions must we impose on $Y$ (and $X$ if need be) to get a homotopy equivalence $$ \mathcal C_c(X,Y) \simeq \mathcal C_0(X,Y)$$ between the space of continuous maps with compact support and that of maps which vanish (in the sense of mapping to the basepoint) at infinity?
Perhaps the fact that latter is same as the space of based maps $\mathcal C(\hat X, Y) $ for $\hat X$ the one-point compactification of $X$ is relevant.