Significantly Improve Page Loads Using Laravel Prefetching
HTML-код
- Опубликовано: 9 окт 2024
- When it comes to single-page apps, we often have to choose between shipping a single large bundle, or reaching for code splitting. There are pros and cons to each option. Generally, this reduces to whether you prefer that the user pay the download toll up front, or spread it out from page to page. However, there's now a way to get the best of both worlds!
Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com.
Laracasts: laracasts.com
Laracasts Twitter: / laracasts
Jeffrey Way Twitter: / jeffrey_way
thanks to u and your laracast laravel video, i expanded and made a todo list, Event planner and task management application but im now interested in making a E-commerce website. Any chances of a course from you on this topic .thanks in advance ❣
That was really cool I would love a more detailed view of how you could take different strategies either this
It's so funny to me that we measure tradeoffs within milliseconds nowadays. Cool vid.
lol
😂😂
Super Awesome 🔥, thanks for sharing 👏
very nice
I was wondering why did you set the concurrency to 3 ?
It seems to be the value set by default in the Illuminate/Foundation/Vite (protected $prefetchConcurrently = 3;) but if you don't specify any value the strategy will be agressive instead of the nice waterfall he shows us
Also seems that Vite::prefetch(concurrency: 3); is already set in Providers/AppServiceProvider.php at least for my fresh app.
@@isaachatilima Ok thanks for this tip
Build or no build?
First Comment 🐱