我正在尝试使用spring的@Cacheable进行缓存。我也在使用spring mongodb。我一直收到以下错误:
java.lang.IllegalArgumentException: Null key returned for cache operation (maybe you are using named params on classes without debug info?) CacheableOperation[public abstract test.models.User test.repositories.UserRepository.findById(java.l
我使用google CDN和google负载均衡器,它有几个后端服务,每个服务都有不同的google CDN设置,如下所示。
service A: google CDN disabled (API server)
service B: google CDN enabled, 1day (Cache-Control: public, max-age=86400), cache-key: full URL
service C: google CDN enabled, 1year (Cache-Control: public, max-age=31536000), cache-key: full U