Это видео недоступно.
Сожалеем об этом.
Faster Web Navigation with Predictive Prefetching
HTML-код
- Опубликовано: 16 авг 2024
- Predictive prefetching is a technique which improves the perceived performance of web applications by utilizing techniques from machine learning and data analytics.
In this video, we’ll learn how Guess.js implements this approach to make our web applications faster with efficient network consumption reducing overfetching ⚡
Basically we are going back to the old days when each page had its own Javascript...
Building a custom router for my app rn with predictive lazy loading and predictive data loading 💪 v-similar thing to this.
thanks, this is very useful
Great idea!
how can i generate a view like the one at 4:28
You can find the source code in my blog post mgv.io/predictive
I have a web page with some content and a button to create an excel spreadsheet. The button runs code in the exceljs javascript library. So excel.js is included in the web page using a tag. Problem is, exceljs is > 1MB in size. How to get the page loaded and operational while the exceljs file continues to load in the background?
I think you can use the async attribute on the link tag. So it will not block you page rendering.
Just use "load" event for that script tag to enable the download button. It will only happen once on the first load since all other loads will have excel.js already cached.
may be dynamic import is what you need
developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
A Web worker would allow you to download the file on a separate thread while the site loads.
Hllo my friend beginner youtuber listens
why is there no surma with Developer Diary anymore? :'(
such topics could be much better covered in such videos :(
I'm first