2016年12月1日

利用Redis解决Url过长的问题

摘要: 做网站,接手别人的代码,发现url有时候会过长导致页面直接翻掉。 后来想了一下可以利用redis将太长的地方暂存,加载页面时获取即可。 存Redis: 1 /// <summary> 2 /// when tagids length > 50 then shortening the ids 3 // 阅读全文

posted @ 2016-12-01 18:08 Riusmary 阅读(249) 评论(0) 推荐(0) 编辑

导航