Here is screenshot of Google's PageSpeed Insights report: https://prnt.sc/1vq8led
I may be wrong but I can't imagine a sensible alternative for serving such an extreme use case as the Wayback Machine does. I'm rather impressed that such a service exists in a usable state at all.
You find their jskirpt in need of improvement, I bet they'd love some help.