I've tried compression socks and have never noticed a difference.
If your legs are feeling wiped and sore you are better off using a foam roller after your ride. The foam roller I notice a definite difference how my legs feel. Compression socks...not so much.
https://www.webmd.com/fitness-exerci...roller-workout
https://www.self.com/story/what-foam...-hurts-so-good
https://www.bostonmagazine.com/healt...-foam-rollers/