会员
众包
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
學无止境
博客园
首页
新随笔
联系
管理
订阅
2020年12月30日
Laravel Cache 缓存使用
摘要: 使用前请先配置 redis或其他的缓存配置 导入:use Cache; 添加一个缓存 $minutes为过期时间 Cacheput('key', 'value', $minutes); 设置永久缓存 Cacheforever('key','value'); 存在就获取反之储存并获取 Cacherem
阅读全文
posted @ 2020-12-30 11:18 『學無止境』
阅读(3210)
评论(0)
推荐(0)
编辑
公告