mercredi 29 juillet 2020

how can i set new cashe just in 10s using laravel Cashe

I used put function for make new manual Cashe. for example :

$cashtime =Cache::put('filekey', 'mycashtime', 20);

and sent it to view but it not expired . when i send it to view it will back me true. but after 20s have to send me false and expire it.

and then how can i check it is expired or not .



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire