How To Setup Laravel Application With Redis Cache On Cloudways

Submitted by wajidstack - 9 years ago

In this article I'm gonna show you how to setup Laravel with Redis cache. Cloudways offers Laravel Development Framework on its Managed Cloud Web Hosting Platform. You also have the option to use Redis Cache, which is different from Memcached in the sense that it has persistence. Further advantages of Redis over Memcached are that it works with more data types, and it uses less memory. Here are the article link: http://www.cloudways.com/blog/setup-laravel-redis-cache/

'redis' => [

  'cluster' => false,

  'default' => [

     'host'     => '127.0.0.1',

     'port'     => 6379,

     'database' => 0,

  ],

]