We have better refrigeration these days, sure, but before electric refrigeration was widespread there was an extensive nationwide ice distribution network. People would essentially quarry it out from frozen northern lakes during the winters, store enormous cubes of it in warehouses packed in sawdust, and ship it out in railroad cars across the nation.
The icebox significantly predates widespread electrification.