Yes, but refrigeration enabled us to produce at massive scale and then ship large distances. Prior to that, you only ate locally (or what could be preserved through pickling and other methods).

And there's another issue I have heard raised — we ate a lot more probiotic foods before refrigeration because you could keep it over the winter.

It's proposed that our gut biomes desperately miss those days.