Well, in my case I always used dish detergent and warm water. Soaked the foam, then squeezed out; repeat several times until the squeezed water is no longer dirty. Then rinsed in clear water several times, squeezed, then set in the sun to dry.
Never had a problem - but I guess it also could depend on the manufacturer's instructions.
Tom M.