Using dccGraph with ggplotly slow performance

I am using ggplot and ggplotly to make and render plots but it seems to be performing very slowly. For example,
this return statement: return(dccGraph(figure=ggplotly(plot1)) takes a very long time to render. Is there any alternative to this, perhaps another library that can speed up the performance of rendering this plot?