The problems of generalization of the averaging principle to delay systems are considered. New effects are revealed in the study of bifurcation problems, as are new phenomena that arise in the case of rapid oscillations of the delay. As an application of the results, the dynamics of a logistic equation with rapidly oscillating coefficients is studied.