Aside from those electrolyte tabs, I also stop every 5-10 miles and do some quick stretches. I also recently started wearing compression sleeves during my ride, and compression socks afterwards. Both have helped a lot. A lot of people forget how much proper recovery can help with the next ride.