mysequel / Implement-Caching-Laravel-5.3-and-Redis

Implementation of page cache on Laravel 5.3 and Redis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Page caching using Laravel 5.3 and Redis for beginner

This's my simple demo of Page Caching using Laravel 5.3 and Redis it's included Debuggar package to check the time usage.

Usage

  1. I assume you have installed Laravel 5.3 and Homestead as well.
  2. Login to your Homestead Box, using vagrant ssh
  3. on your directory, run Composer Install to install Laravel and all required vendor on this project.
  4. on your .env file, set CACHE_DRIVER=redis, and set your database
  5. Run php artisan migrate, to install all migration examples on this project.
  6. Run php artisan db:seed --class=PostSeeder, to run database factory and faker.
  7. Test the app on browser by using your-local-web/posts

About

Implementation of page cache on Laravel 5.3 and Redis

License:GNU General Public License v3.0


Languages

Language:PHP 91.8%Language:HTML 5.4%Language:JavaScript 1.4%Language:Vue 0.7%Language:ApacheConf 0.7%