🔥 Laravel tip: Dispatch after response
Mar 20, 2022
If you have a really small job you can use the `dispatchAfterResponse` method, this will run the job after the response has been sent to the user.
Remember, this is only a good idea if the task is really short.
Remember, this is only a good idea if the task is really short.
![tip-image-0](https://res.cloudinary.com/dpmeu3otn/image/upload/v1666550789/tips/yi50lvf7xxlgtibfdwgk.jpg)
Other tips:
🔥 Laravel Tip: The undot method.
Oct 25, 2022