what is the difference between long cage and medium cage derailleur?
If you are in-between the capacity ranges of the two, which is often the case with mountain bikes, then note the following: long cage derailleurs will accommodate a wider gear range and deliver a better chain line, while medium cage derailleurs are less likely to be hit by rocks on the trail.