nginx - api动态缓存最佳实践?
PHP中文网
PHP中文网 2017-04-24 09:12:33
0
1
510

我这有两个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能实现吗?

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(1)
刘奇

If A hits the cache, B can also use the same method

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!