mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
11 lines
No EOL
587 B
Markdown
11 lines
No EOL
587 B
Markdown
---
|
|
title: 'Laravel''s RateLimiter can be used to throttle ANY parts of your code'
|
|
tweet_id: '1542863730194538496'
|
|
thread_slug: weekly-thread-2022-26
|
|
author_username: mattkingshott
|
|
images:
|
|
- 'https://pbs.twimg.com/media/FWflzWuWYAAyvkB.jpg'
|
|
created_at: 2022-07-01T13:32:32+00:00
|
|
slug: laravels-ratelimiter-can-be-used-to-throttle-any-parts-of-your-code
|
|
---
|
|
🔥 #Laravel Tip: Rate-limiting is not only for throttling entire requests. You can also use it to throttle methods or parts of your code, which can be really useful when you need to protect things against spikes e.g. the DB. |