I have headlights on my touring bike.They used to be mounted directly on the fork with a clamp.They would slip down every once in awhile because the fork is tapered.
So to get rid of the problem,I decided to make mounts for them that attached to my front rack.
No more slipping: