A rear derailleur does two things, shifts gears and tensions the chain, because a different chain length is required for different gearing. A longer cage allows a greater range of gearing, but if you don't need it, its probably best to have a shorter cage.