You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the value of the spring.cloud.gateway.filter.local-response-cache.enabled property is false, the application
doesn't start as the documentation mentions. But if this property is missing, the application starts. The documentation
says, the false is the default value.
IllegalArgumentException - Unable to find GatewayFilterFactory with name LocalResponseCache
When the property is true:
hello is cached
hello-name is cached (default cache)
Yet another question: what is the difference between spring.cloud.gateway.filter.local-response-cache.enabled and spring.cloud.gateway.global-filter.local-response-cache.enabled property?
The text was updated successfully, but these errors were encountered:
When the value of the
spring.cloud.gateway.filter.local-response-cache.enabled
property isfalse
, the applicationdoesn't start as the documentation mentions. But if this property is missing, the application starts. The documentation
says, the
false
is the default value.Sample application with integration tests: https://github.com/vicziani/spring-cloud-gateway-bug
https://docs.spring.io/spring-cloud-gateway/reference/4.1-SNAPSHOT/appendix.html#page-title
The current documentation gives "404 - Not found status now".
https://docs.spring.io/spring-cloud-gateway/reference/current/index.html
I have two routes:
When the property is missing:
hello
is cachedhello-name
is not cachedWhen the property is
false
:IllegalArgumentException
-Unable to find GatewayFilterFactory with name LocalResponseCache
When the property is
true
:hello
is cachedhello-name
is cached (default cache)Yet another question: what is the difference between
spring.cloud.gateway.filter.local-response-cache.enabled
andspring.cloud.gateway.global-filter.local-response-cache.enabled
property?The text was updated successfully, but these errors were encountered: