But what about back in Mrs. Black's day, when your average house keeper didn't have a fridge? She is an ardent believer in the ability of sugar to block spoilage, but still recommends putting a lid on it - albiet one of paper...
"As this is the season for making preserves, it may be useful to young housekeepers to tell them what I consider the best way of covering jelly. First of all make a little common paste, then have the papers cut the size necessary, and the names written upon them. Proceed to put the paste over the inside of the paper near the edge. Do all this while the preserve is boiling; then fill a can and instantly put the paper on, sticking it securely all round, and so on till all are finished. With a damp cloth wipe the outside of the cans, and they are ready for storing in a dry place. Unless you put the paper on the very moment the jam is put into the jar you must allow it to get quite cold. This will be found an effectual plan to prevent mouldiness, if the preserves are properly boiled with enough sugar."
I am assuming that "common paste" is just a little flour and water combination mixed together based on the recipes I found here. So, a little paper label glued in with some flour paste to keep out the flies and "mouldiness." Blurg. I suppose it did an admirable job, but I'm just happy we've worked out better ways of keeping bacteria at bay.
In the meantime, I'll be enjoying my mould free apricot jam on toast!