This is weird. I've stopped going on LinkedIn because there is a constant barrage of recruiters.
If you list the right skills they will find you.
If you list the right skills they will find you.
If you haven't and your gap is for other reasons I'd write a "skills based cv" and definitely spend at least 2 weeks reminding yourself everything you need to know before you go for technical interview. There is no worse feeling than getting a technical question you knew an answer for, but you can't quite remember what is was.
I also found it's easier to apply directly rather than through recruiters if you have a big gap in your work.