diff --git a/dashboard/.env.example b/dashboard/.env.example index 064b7e8..e05afb4 100644 --- a/dashboard/.env.example +++ b/dashboard/.env.example @@ -38,7 +38,7 @@ BROADCAST_CONNECTION=log FILESYSTEM_DISK=local QUEUE_CONNECTION=database -CACHE_STORE=database +CACHE_STORE=file CACHE_PREFIX= MEMCACHED_HOST=127.0.0.1 diff --git a/dashboard/app/Api.php b/dashboard/app/Api.php index c337978..ec1b2f4 100644 --- a/dashboard/app/Api.php +++ b/dashboard/app/Api.php @@ -1,6 +1,7 @@ successful()){ - return $get->json(); + $result = $get->json(); + Cache::put($request, $result); + return $result; } return null;