java - Spring Zuul 网关 - 带有 Spring Cache Redis

标签 java spring netflix-zuul

是否有可能有一个 Spring Zuul 网关项目,它可以在网关本身上进行缓存,因此在它路由到任何微服务之前,它会在 REDIS 服务器上检查相同的请求,如果找到一个,则返回缓存数据REDIS 服务器上的条目?

最佳答案

是的,你可以用zuul来做。但您也可以将开箱即用的 nginx 与 reverse-proxy caching 一起使用.它可以让我更快更轻松。

关于java - Spring Zuul 网关 - 带有 Spring Cache Redis,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45755886/

相关文章:

spring-mvc - 访问 Spring Boot Zuul Service 路由的身份验证

java.io.IOException : parseAlgParameters failed: PBE AlgorithmParameters not available, 当 docker 容器尝试访问 rabbitmq TLS 端口时导致

java - Spring JPA 查询创建 - 将 By 与谓词结合使用

spring-boot - 使用 Zuul 和 Eureka 自动配置路由

filter - 将新字段添加到来自 Netflix Zuul 预过滤器的请求正文

spring - 我是否必须 try catch JpaRepository

从SVN到服务器: How to compile automatically?上的Tomcat的Java类文件

java - Maven Java 项目中文件搜索中的 IntelliJ : Hide . 类文件

java - 更好的比较字符串方法

java - H2数据库是否兼容Oracle 'Insert All'语句?