
I would not trust sticky across a redirect — 13.38 sticks my next read to the write host
Laravel 13.38 adds PreventStaleDatabaseReads and Connection::usingWritePdo() for apps that read from a replica. sticky in config/database.php dies when a PUT redirects to a GET. The middleware stores _database_modified_at on the session. Appending it to the web group still runs after auth and route model binding.
Oct 28, 2026 · 9 min read