Solution:
a. Set ∠BAC=α and ∠ACD=x. We have AC=ABcosα, BC=ABsinα and it follows by the Sine theorem for △ADC and △BDC that

AD+CDAC2+BD+CDBC2=ACAD+ACCDAC+BCBD+BCCDBC=sin(α+x)sinx+sin(α+x)sinαABcosα+sin(α+x)cosx+sin(α+x)cosα=AB(sinα+sinxcosαsin(α+x)+cosα+cosxsinαsin(α+x))=AB(cos2α−xcosαcos2α+x+cos2α−xsinαsin2α+x)=AB.
The above identity can be proved by using the Stewart theorem as well.
b. We have
CEAE=CDAD⇒CEAE+CE=CDAD+CD⇒CE=AD+CDAC⋅CD
and similarly CF=BD+CDBC⋅CD. Then
CACF+CBCE=CA(BD+CD)BC⋅CD+CB(AD+CD)AC⋅CD=CA⋅CBCD(AD+CDCA2+BD+CDBC2)
and using a) we see that
CACF+CBCE=CA⋅CBCD⋅AB
Therefore the required minimum is equal to 1 and it is attained when CD is the altitude of △ABC.