我这有两个url,返回的数据是一样的
A /items?token=xxxx&id=1&sign=xxxx
B /items?token=xxoo&id=1&sign=xxoo
我希望访问B的时候 命中A的cache
目前架构是 nginx -> tomcat
tomcat使用了redis
但觉得性能还是不够,有没有更好的缓存方案?
另外,varnish能实现吗?
A是如果命中缓存的,B也是用一样的方法即可
我这有两个url,返回的数据是一样的
A /items?token=xxxx&id=1&sign=xxxx
B /items?token=xxoo&id=1&sign=xxoo
我希望访问B的时候 命中A的cache
目前架构是 nginx -> tomcat
tomcat使用了redis
但觉得性能还是不够,有没有更好的缓存方案?
另外,varnish能实现吗?
A是如果命中缓存的,B也是用一样的方法即可