84669 person learning
152542 person learning
20005 person learning
5487 person learning
7821 person learning
359900 person learning
3350 person learning
180660 person learning
48569 person learning
18603 person learning
40936 person learning
1549 person learning
1183 person learning
32909 person learning
etag 对于缓存来说很重要,对于json数据etag该如何计算?
小伙看你根骨奇佳,潜力无限,来学PHP伐。
对json字符串做sha1计算.
对最后更新时间做sha1计算
如果你要考虑key乱序问题的话,最好的办法就是对kv pair 进行k 字典序排序,然后拼接成字符串再做hash
对json字符串做sha1计算.
对最后更新时间做sha1计算
如果你要考虑key乱序问题的话,最好的办法就是对kv pair 进行k 字典序排序,然后拼接成字符串再做hash