In some exceptional cases, when food sources were particularly rich, bands settled down in seasonal and even permanent camps. Techniques for drying, smoking and freezing food also made it possible to stay put for longer periods. Most importantly, alongside seas and rivers rich in seafood and waterfowl, humans set up permanent fishing villages – the first permanent settlements in history, long predating the Agricultural Revolution. Fishing villages might have appeared on the coasts of Indonesian islands as early as 45,000 years ago.