Oo much cheese

What is the origin of "too much cheese for a nickel?" It obviously means something is too expensive but was curious on how it came about.