Why does my leaflet take so much time to in R shiny.?

I want to plot india map using leaflet library.I have create the choropleth map.Also,when Inclick on the map,I get the values.
But the problem is,it take 4 minutes to load.
Everytime i change the input,it take 4 minutes again,which makes things difficult.I have tried to simplify my shapefile and then plot it.I have tried setView(),fitbounds().Ihave done everything possible,but in vain.
i do not want to give up on the leaflet package.Please provide help.

How big is your shapefile?

Can you please provide a reprex? This will make it much easier for the community to be able to provide help and make it much more likely for you to get the answer to your question.