Export several panels

I’m working on a site with several with several sideframes loadable on the fly, each sideframes contains several Grafana exported panels.
I’m trying to optimize the flow because loading 20 exported panels means loading 20 times a lot of reduntant things.
Any ideas or suggestions ?
Thanks a lot