sixhours-team/memcached-spring-boot

Webflux: Does this work with Mono<T>?

Opened this issue · 1 comments

Currently I am building an app in reactive programming using spring webflux. Can we use this to cache Mono?And Does this work with "prefix"?

The current Spring Cache API is based on blocking calls, hence the cache annotations would most probably not work with Reactor's Mono and Flux. We're gonna check a bit further if support for reactive types could be added within the library. I'll write you an update in this issue...

As for the prefix, yes it's supported within the library with memcached.cache.prefix configuration property.