Home >Backend Development >PHP Tutorial >请问:tp的默认数据缓存是多久?

请问:tp的默认数据缓存是多久?

WBOY
WBOYOriginal
2016-06-23 13:07:481234browse

我在后台删图片后,前台立马刷新无效。

前台要过好一阵,再刷新,图片才消失。


回复讨论(解决方案)

S()方法 若不加时间参数,就是永久缓存

我没用S方法啊,完全没设缓存。

再说,等一阵,大既10多秒,图片就可以消失了。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn