Best Way to download plotly objects as image?

I created a dashboard using R Shiny and it renders images using plotly. I have created a download handler using kaledio but it is very laggy and the app often crashes. can you please help me decide any other ways of downloading plotly objects?

a few years ago I used webshot; I believe there is a webshot2 now, so I might try that.

If the plots are static or updated infrequently, consider pre-rendering them as image files (PNG, JPEG, etc.) and then providing download links to these pre-generated images. This reduces computation and load on the server during downloads.