Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where are laravel cache files stored?

I have an application and my cache driver is

In config/cache.php
 'default' => env('CACHE_DRIVER', 'file'),

In my .env
 CACHE_DRIVER=file

In my application if I cache something, then where these cache files are stored?

like image 600
Dinesh Gowda Avatar asked Feb 28 '18 11:02

Dinesh Gowda


1 Answers

Cache will be stored in the storage/framework/cache

If this is not working then make sure you have sufficient folder permission to access it.

If you want to access it. Simply access it by keylike:

Cache::get('key');
like image 91
Jigs Virani Avatar answered Oct 10 '22 22:10

Jigs Virani