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 .



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2X7d6jA
via IFTTT

Aucun commentaire:

Enregistrer un commentaire