3

Thinkphp 缓存问题(数据库字段缓存)

 3 years ago
source link: https://www.80shihua.com/archives/226
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.
neoserver,ios ssh client

Thinkphp 缓存问题(数据库字段缓存)

作者: dreamfly 分类: thinkphp 发布时间: 2015-01-15 09:25

当我们上线产品的时候,我们需要关闭debug,同时上传的时候不需要上传Runtime 这个文件夹,因为这个里面缓存了很多数据,一旦我们关闭了debug,默认情况下它走的是缓存,所以当我们修改了数据库的字段,第一要做的就是删除这个文件夹里面的数据,否则,可能产生一旦开启debug程序就好使,关闭debug程序就不好使的问题,这个问题100%都是缓存造成的。

如果觉得我的文章对您有用,请随意打赏。您的支持将鼓励我继续创作!

发表评论 取消回复

电子邮件地址不会被公开。 必填项已用*标注


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK