1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24:03 +00:00
laravel-tips/content/tips/use-prefetching-to-boost-the-perceived-speed-of-livewire-apps.md
2021-11-26 16:21:56 +01:00

602 B

title tweet_id thread_slug author_username images created_at slug
Use prefetching to boost the perceived speed of Livewire apps 1464247623796232193 weekly-thread-2021-47 alexjgarrett
https://pbs.twimg.com/media/FE9K7s_X0AMvYbA.jpg
2021-11-26T15:00:12+00:00 use-prefetching-to-boost-the-perceived-speed-of-livewire-apps

To boost perceived speed in your @LaravelLivewire apps when loading data, make use of prefetching.

The .prefetch modifier tells Livewire to fetch the result in the background on hover, and then displays the result when the button is actually clicked