Can springboot be slimmed down when deployed in war packages?

springboot uses jar deployment by default, and I"m going to deploy it with war now, because I need to manually tune tomcat.
but the volume of the war package is more than 30 MB, most of which are occupied by the jar package. The upload speed to Ali Cloud is really slow .

usually the jar package will not change when redeployed , but the will only change the code or configuration , so I would like to ask if there is any way to isolate the jar package and deploy only the changed part when redeploying, so that it will be much more efficient?


Yes. When I was working on a project, I only published the jar typed by my own code.
other jar was put on it separately, and those static resources are generally relatively large. If you don't update it once, you don't have to package it.

Menu