Get ready for a barrage from the pro-helmet lobby...but that's not your question.
OK, I wear a helmet, but those are pretty big vents on top. I'll get a really nice sunburn through those. Since I have no hair, I:
1. Slather my pate with sunscreen.
2. Wear a lycra bandanna under my helmet. It's a long bandanna so it also protects the back of my neck.
3. Both.
Sun protection is a very important issue. A wide brimmed hat is a good solution to keep the sun off the top of your head and your ears. You are right, baseball caps do nothing to protects the tops of your ears from sunburn.
Just my 2c.
__________________
Fewer Cars, more handlebars!