Sliced bread

I sometimes hear the phrase that something is “the greatest thing since sliced bread”. I think it’s mostly in American sitcoms and films, I’ve heard it.
That raises one big question:
What was the greatest thing before sliced bread?