The type of cache is by default automatically detected and configured. However you can specify which cache type to use by adding spring.cache.type
to your configuration. To disable it set the value to NONE
.
As you want to do it for a specific profile add it to that profiles application.properties
in this case modify the application-dev.properties
and add
spring.cache.type=NONE
This will disable caching.