How do bones resist both compression and tension stress?

There is articular cartilage over the joint surfaces such as the head of the femur and the epiphysil plate with in the bone that cushions pressure and reduces shock.