> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/ix.-how-to-guides/85.-hot-swapping/85.2.-reload-templates-without-restarting-the-container/85.2.2-freemarker-templates.md).

# 85.2.2 FreeMarker模板

如果你正在使用FreeMarker，那就将`spring.freemarker.cache`设置为`false`，查看[FreeMarkerAutoConfiguration ](https://github.com/spring-projects/spring-boot/tree/v2.0.0.RELEASE/spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/freemarker/FreeMarkerAutoConfiguration.java)可以获取其他FreeMarker自定义选项。
