One of the earliest Economic Policies, Caravansaries isn't much good in the beginning of the game, simply because you have few Trade Routes and precious few Economic slots in your Government (so usually you have better Cards to use, such as Urban Planning). However, when you develop the first real Governments, and have 3+ Trade routes, Caravansaries becomes very useful for maintaining a full Treasury. One of the best things about it is that it affects both International and Domestic Routes, so it doesn't matter whether you will be trading proper with other civilizations, or boosting your own cities - the Gold bonus will apply to all your Routes!
Caravansaries becomes obsolete only in the Renaissance Era, so it will be good for a good half of the game.
Civilopedia Entry Edit
As caravan routes expanded across the Middle East, Central Asia, and North Africa, the need for places where pack animals and human handlers could pause for rest, shelter, provisions, and safety – for a fee, of course – grew. Public caravansaries were complexes built outside the walls of towns and cities; private ones usually took the form of walled enclosures in the middle of nowhere with storerooms and sleeping quarters, stables, and kitchens. The largest could accommodate hundreds of camels, mules, or horses. The oldest recorded caravansaries were found along the Persian Empire’s Royal Road, stretching some 1600 km (1000 miles) from Sardis to Susa.