Modern web development offers several ways you can deal with this giant number of small requests issue. It's something people have been dealing with for years. The bicycle was already invented, so to speak (this russian idiom probably doesn't translate well).
The new and preferable way is to use http/2. If you don't know, this is a well explained set of articles. And this is the guide for the web-server that PG is running on.
The older, but also possible way is making an image sprite. Basically, you put all badges on one image and the correct one is displayed by css rules (width, height & background-position). I can make you the implementation. You have css files loaded here anyway already (actually, 3 of them). Loading one sprite image (and caching it) is much-much more effective.[/url]