About This Episode

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).

Published on Feb 26th, 2019.

Back to Series Button