spring Boot 填坑手冊: redis與cache之坑

    在處理高併發時,咱們經常用到緩存,首先,說說redis的配置,與注意事項.web 在pom.xml中須要引入spring-boot-starter-data-redis和spring-boot-starter-cache 如此引入以後,緩存配置就默認爲redis,配置redis 須要在application.properties中配置以下參數redis #redis spring.redi
相關文章
相關標籤/搜索