Laravel中缓存的使用 – huang2017的博客 – CSDN博客 Cache::add 来源: Laravel中缓存的使用 - huang2017的博客 - CSDN博客 1.Laravel为各种不同的缓存系统提供了一致的API,支持的缓存有File、Memcached和Redis等 2.主要方法 put()、add()、forever()、has()、get()、pull()、forget() 3.配置文件路径 /config/cache.php 4.添加路由 PHP mikel 2017-07-09 174 热度 0评论