1 warehouse on it's own is pretty useless.

yes, build warehouses, but build 9 of them, research stockpile and upgrade all of them to level 9. yes, your warehouse town will not have room for more than 1 barrack, but before you go offline you can safe your resources there from all other towns - on the other hand you could just build one market in each town...takes up much less space....