Spring Boot - application.properties Configuration

Static Resource Caching:
Spring.freemarker.cache = true; // Will do only in Production.




Automatic-UI-refresh:
  Default It is enable

Spring.devtools.livereload.enabled = false;

Server Restart:

Spring.devtools.restart.enabled = false;

Using Trigger File:
If you want to control, If any specific file changes happens then only it should restart automatically and your changes should apply.

Spring.devtools.restart.trigger-file = c:/workspace/trigger.txt;

Comments

Popular posts from this blog

How to set Java Object into JaxBElement ?

GitLab