redis-cache-spring Sample application to configure redis as cache in spring boot REST application. KEY POINTS I have used mysql datasource to persist the user data. You can make use of H2 databases as well.