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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4936e-44d10.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4936e-44d10.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?