Update Your Cache TTL

Episode 2 Run Time 2:41

A small, but important breaking change in Laravel 5.8 is the switch from minutes to seconds for all cache TTLs. In your codebase, track down any reference to cache()->put(), cache()->remember(), or any other variants, and do the necessary math to convert the expiration date from minutes to seconds (multiply by 60).

Publish Date: February 26, 2019