A tip I once got was to wait with getting on board until the very last boarding call. (Though I imagine that's only if you travel economy class).
There's no real advantages to getting on board a cramped airplane and just waiting in it for a long time, is how it was explained to me.