TITLE: Product of "prime" topological spaces
QUESTION [5 upvotes]: We call a topological space $(X,\tau)$ product-decomposable if there is an index set $I$ and subsets $X_i\subseteq X$ for $i\in I$ such that $|X_i| > 1$ and $X \cong \prod_{i\in I} X_i$ where each $X_i$ is endowed with the subspace topology.
If a space $(X,\tau)$ is not product-decomposable and $|X|>1$, we call it prime. (Is there established terminology for this?)
If $X_1, X_2$ are prime spaces, is it possible that there are prime topological spaces $Y_1, Y_2$ such that $X_i \not\cong Y_j$ for $i,j\in\{1,2\}$ but $(X_1\times X_2) \cong (Y_1\times Y_2)$?

REPLY [2 votes]: This is just a cheap extension of PVAL's comment, but I think it works: Taking for granted that $S^2$ and $TS^2$ are prime, which I believe is true, you can write 
$$TS^2 \times (\mathbb R \amalg S^2) = S^2 \times (\mathbb R^3 \amalg TS^2),$$
and now all four spaces appearing are prime and pairwise not homeomorphic.