PLAY PODCASTS
When validation can protect your app's performance
Episode 124

When validation can protect your app's performance

No Compromises · Joel Clermont and Aaron Saray

April 12, 202512m 12s

Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.

Show Notes

Joel and Aaron show how ignoring GET request validation can cause performance issues and open your application to abuse. They highlight the importance of bounding pagination and share tips for using form requests to handle unexpected user input.

Now go check out the best/only Laravel validation book

  • (00:00) - Quiz on Laravel’s default pagination limit
  • (01:00) - Performance concerns with large datasets
  • (03:20) - Validating per-page requests in controllers
  • (05:45) - Why you should block negative page numbers
  • (09:20) - Silly bit

Topics

LaravelPHP