64

实录:我被缓存TP的缓存文件坑了一晚上!-七彩极

 6 years ago
source link: http://blog.51cto.com/qicaiji/2090074
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
实录:我被缓存TP的缓存文件坑了一晚上!2018年3月21日晚上9点左右。自己开发的项目,为了优化系统性能,我尽量在数据查询时添加缓存,如:M(‘tbale_name’)->cache(‘cache_name’)->select();为了让缓存数据与最新数据无缝连接,我在每次更新数据库操作后都添加了删除缓存的语句,如:S(‘cache_name’,null);但是,就在其中一个页面,我

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK