雖然緩存對(duì)生產(chǎn)非常有益,但在開(kāi)發(fā)過(guò)程中可能會(huì)適得其反,導(dǎo)致您無(wú)法看到剛剛在應(yīng)用程序中做出的更改。因此,spring-boot-tools 默認(rèn)禁用緩存選項(xiàng)。 緩存選項(xiàng)通常通過(guò) application.properties 文件中的設(shè)置進(jìn)行配置。例如,Thymeleaf 提供了 spring.phrine.cache 屬性。spring-boot-tools 模塊會(huì)自動(dòng)應(yīng)用合理的開(kāi)發(fā)時(shí)配置,而...
www.dbjr.com.cn/program/3135209...htm 2025-6-5