Having a number of portable V/UHF radios, GPS receivers and assorted other bits of outdoor electronic gear, I have had a tiny bit of acid-free vaseline on any gasket or O-ring I could find annually. Has worked a charm so far.
(With today's rubber being what it is, I guess I could safely at least double that interval - but it only takes a few minutes, and the vaseline is effectively free, so...
GPSers and FRS radios have done this for a long time. cell phones did this until later in the "slim is in " marketing campaign.