Speed up the OCaml GC by prefetching during marking (GitHub PR) github.com/ocaml/ocaml/pu…
πŸ‘︎ 57
πŸ’¬︎
πŸ‘€︎ u/typesanitizer
πŸ“…︎ Jul 25 2021
🚨︎ report
How To: Speed up your Shopify store with prefetching. zigpoll.com/blog/prefetch…
πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/nutsforbreakfast
πŸ“…︎ Sep 30 2021
🚨︎ report
Does prefetching affect Lighthouse scores?

Anyone know if prefetching affects lighthouse scores? I can't see how it wouldn't as if you are prefetching, doesn't it "add the next pages load" to the current frame, so to speak?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/VeniceBeachHomie
πŸ“…︎ Jun 04 2021
🚨︎ report
Dumb question about "Code splitting and prefetching" and bundle size

I'm just switching from CRA to Nextjs, I would be happy to be corrected if I'm wrong and thanks in advance for reading !

from https://nextjs.org/learn/basics/navigate-between-pages/client-side :

> Next.js does code splitting automatically, so each page only loads what’s necessary for that page. That means when the homepage is rendered, the code for other pages is not served initially. This ensures that the homepage loads quickly even if you have hundreds of pages.

Let's imagine I have two pages, /home and /admin, that'd mean I could import two big libraries like Moment and MaterialUI in /admin and still not have /home first load time ( or maybe time to become interactive to be more precise ) affected by these 2 libraries as long as I don't directly import them in /home ?

from the same link : > Furthermore, in a production build of Next.js, whenever Link components appear in the browser’s viewport, Next.js automatically prefetches the code for the linked page in the background

So if I put a Link that points to /admin at the top of my /home page are these operations followed in this order when going to /home ? :

  • Server send the HTML and it's rendered by the browser
  • the browser download the needed JS for /home and execute React, /home is now interactive
  • Since Link pointing to /admin is in the browser's viewport It'll download the js for /admin, If I then clikc this Link it'll be Client side rendered and not server side rendered ?
πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/Heroe-D
πŸ“…︎ Mar 28 2021
🚨︎ report
React Router v5 accompanied with Code Splitting, and Data Prefetching with the use of Server Side Rendering

I have a project where use react-router v3 only for one reason. The reason is the need of server side rendering with data prefetching and the most convenient way to do this is to keep centralized route config in an object or array and loop over the matching elements to fetch the data from the API on the server side. The data later is going to be passed to the client with the response HTML and stored in variable of JSON format string.

Also application uses code splitting, however with the use of babel-plugin-transform-ensure-ignore on sever side I can directly fetch the components instead of lazy loading and the native import method will be used only on client side.

Nevertheless, above-mentioned structure isn't working with react-router v5, as it's little bit difficult, since I can't use @loadable/components, as react-router official documentation suggests. Per my observation @loadable/components just generates the HTML on the server side instead of giving me the components in which I implement the fetch method responsible for server side logic.

Therefore, I would like to ask you the good structure for webpack + react-router v5 + ssr + data prefetch + redux + code splitting

I see it's quite complicated and no universal solution, however I may be wrong.

Any direction or suggestion is appreciated.

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/Cartman720
πŸ“…︎ May 02 2021
🚨︎ report
Can we an option to disable video prefetching?

It really doesn't help with my slow/average connection, in fact it makes loading things I want to see slower because it's trying to download another video that I'm not interested in watching

πŸ‘︎ 15
πŸ’¬︎
πŸ‘€︎ u/GeminiFTWe
πŸ“…︎ Dec 09 2020
🚨︎ report
Prefetching Model Properties

Any way to prefetch a model property? I got a model structure as follows for history/versioning reasons and have super long SQL runtimes when trying to query like 200 instances of my main model (License). Is there any way to prefetch a property? Or any other good way for me to do this? I already tried prefetching just all Counters for every License, but doesn't really improve performance (aside from SQLite eventually saying there's too many arguments).

class License(models.Model):
    name = models.CharField(max_length=16)

    @property
    def counter(self):
        self.counters.filter(primary=True).get()


class Counter(models.Model):
    license = models.ForeignKey(License, on_delete=models.CASCADE)
    primary = models.BooleanField(default=False)
    
    class Meta:
        constraints = [
			UniqueConstraint(fields=['license'], condition=Q(primary=True), name='unique_primary_counter')
		]
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/Teilchen
πŸ“…︎ Oct 13 2020
🚨︎ report
AMD: for this new gen, we improved cache prefetching, execution engine, front end, etc; Intel: for this new gen, we shaved a few um off the die!
πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/allinwonderornot
πŸ“…︎ Oct 09 2020
🚨︎ report
I made an assembly language simulator in Python to showcase speed improvement of instruction prefetching

I tried to do a write-up on how assembly works and what prefetching is in the README. The code is pretty short and beginner friendly (or so I think).

The project is available on Github: https://github.com/alin1popa/prefetch-cpu-simulator

Should be Python2/Python3 compatible. Drop me suggestions (or pull requests) if any πŸ™ƒ

πŸ‘︎ 201
πŸ’¬︎
πŸ‘€︎ u/alin1popa
πŸ“…︎ Aug 19 2020
🚨︎ report
Prefetching and dynamic routing with Next.js blog.logrocket.com/prefet…
πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/agility-cms
πŸ“…︎ Nov 30 2020
🚨︎ report
svelte, routify and prefetching

Hey, I'm new to svelte and I'm trying to get prefetching on hover working. I want to avoid using sapper so I'm playing around with routify and I kind of have it working. I have the following:

<header><a on:mouseover={() => prefetch('/home')} href="/home">home</a></header>

But the issue is that on hover it pulls everything (root.js, home.js, css, etc.) and on click it pulls home.js again. Is there some way to get routify to only pull the home.svelte page on hover and just mount it on click? Or is there a way to do it with a different router?

πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/andy9775
πŸ“…︎ Dec 27 2020
🚨︎ report
New in Routify 1.8: PWA support, prefetching, nollup & more routify.dev/blog/1.8-beta
πŸ‘︎ 26
πŸ’¬︎
πŸ‘€︎ u/Wolfr_
πŸ“…︎ Jun 22 2020
🚨︎ report
Making your application feel faster by prefetching data with NgRx timdeschryver.dev/blog/ma…
πŸ‘︎ 34
πŸ’¬︎
πŸ‘€︎ u/timdeschryver
πŸ“…︎ Aug 31 2020
🚨︎ report
Optimizing Django REST Framework performance with django-auto-prefetching itnext.io/optimizing-djan…
πŸ‘︎ 55
πŸ’¬︎
πŸ‘€︎ u/GeeWengel
πŸ“…︎ Aug 09 2019
🚨︎ report
Quicklink - Speed up your WordPress with prefetching wp-munich.com/how-to/quic…
πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/krautgamer
πŸ“…︎ Feb 10 2019
🚨︎ report
Prefetching - practical applications
πŸ‘︎ 24
πŸ’¬︎
πŸ‘€︎ u/vanKlompf
πŸ“…︎ Jan 18 2020
🚨︎ report
Sort order of prefetching

Is it possible to configure the app so that the prefetching happens in a specific order?

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/ziggy-25
πŸ“…︎ Feb 02 2020
🚨︎ report
Prefetching and dynamic routing with Next.js - LogRocket Blog blog.logrocket.com/prefet…
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/agility-cms
πŸ“…︎ Nov 30 2020
🚨︎ report
Improving app startup with I/O prefetching medium.com/androiddevelop…
πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/dayanruben
πŸ“…︎ Jul 15 2020
🚨︎ report
Eagerly prefetching a route's models to make apps faster sivasubramanyam.me/eagerl…
πŸ‘︎ 19
πŸ’¬︎
πŸ‘€︎ u/MisterXi
πŸ“…︎ Sep 19 2018
🚨︎ report
Prefetching in Functional Languages cl.cam.ac.uk/~tmj32/paper…
πŸ‘︎ 12
πŸ’¬︎
πŸ‘€︎ u/mttd
πŸ“…︎ Jun 06 2020
🚨︎ report
nds-bootstrap v0.8.0: Fixed Haxxstation support, async prefetching, and more github.com/ahezard/nds-bo…
πŸ‘︎ 220
πŸ’¬︎
πŸ‘€︎ u/Niklink
πŸ“…︎ May 26 2018
🚨︎ report
uBlock Origin's wiki says that link prefetching has to be disabled for privacy. Is this still true?

In both the uBlock origin GUI and the wiki, we're told that leaving prefetching enabled somehow gives the browser the ability to bypass the filters and visit blocked domains. (That's unintuitive and sounds like a bug to me.)

To test this I disabled the setting in uBlock and made sure that all available prefetch settings were enabled in about:config. I then browsed around while watching all the connects made with Wireshark. During that time, I didn't see any connections to blocked domains. That's on Linux with Firefox 55.0.3.

Is it still necessary to disable link prefetching?

πŸ‘︎ 31
πŸ’¬︎
πŸ‘€︎ u/american_spacey
πŸ“…︎ Sep 07 2017
🚨︎ report
Smoothen your table view data loading using UITableViewDataSource Prefetching fluffy.es/prefetching/
πŸ‘︎ 67
πŸ’¬︎
πŸ‘€︎ u/soulchild_
πŸ“…︎ Jul 19 2018
🚨︎ report
DNS Prefetching can have massive (financial) implications esp if you use username.yoursite.com (via HN) pinkbike.com/news/DNS-Pre…
πŸ‘︎ 91
πŸ’¬︎
πŸ‘€︎ u/WastedTruth
πŸ“…︎ Mar 10 2011
🚨︎ report
Massive import of products with existing relations ? Would you have prefetched and why ?

I need to import massive amount of catalog products from csv_files into a database. Knowing that :

  • those products have many relations to other schema (tags, categories, ...)
  • The incoming data quality is very poor
  • Most of the relations of a product already exist (tags, categories)

How would you process one line into your database ?

What I did for now :

I considered going with one big Ecto.Changeset with many put_assoc/4 calls. BUT as most of the relations already exist I would have had a lot of invalid changesets. Pre-fetching all this data didn't look like a good idea at that time (I was worried about performances).

Instead I went full Ecto.Multi, handling multiple changesets individually with the on_conflict: :nothing, return: true properties to return existing data. A final step of the transaction (the product changeset) creates and links the product with all the inserted-or-fetched relations.

It resulted in a working code but with a bit too much overhead to my taste. Should I have prefetched everything before-hand ? How you guys would have done it ?

πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/NoBrainSkull
πŸ“…︎ Dec 24 2021
🚨︎ report
Disable prefetching?

I get why someone would want to disable this for privacy concerns, but won't it slow down browsing?

πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/physical_kid
πŸ“…︎ Mar 04 2019
🚨︎ report
How do I hide files from cheats?? From PC Checks? It’s a loader cheat and I’ve injected it a few times, I know a few methods like process hacker explorer.exe, deleting prefetch and looking through download history. Please Lmk if u know a more advanced way πŸ‘
πŸ‘︎ 2
πŸ’¬︎
πŸ“…︎ Jan 05 2022
🚨︎ report
[Instagram] Improving performance with background data prefetching engineering.instagram.com…
πŸ‘︎ 55
πŸ’¬︎
πŸ‘€︎ u/eldimo
πŸ“…︎ Nov 03 2017
🚨︎ report
Please add automatic HD image loading without prefetching

How come I have to manually select HD for every picture I look at (especially a pain with albums) if I don't want to download the HD version of every image on my front-page regardless of whether I want open it or not? I don't have a ton of space on my phone, so I want to download what I want to look at, not everything indiscriminately.

I'm sorry if this comes off kind of rudely, but I couldn't figure out to describe the problem in another way.

Please allow me to look at albums without pressing hd for every single image. Thank you.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/MinNSFWbruger
πŸ“…︎ Feb 11 2018
🚨︎ report
RecyclerView prefetching in the latest support lib medium.com/google-develop…
πŸ‘︎ 60
πŸ’¬︎
πŸ‘€︎ u/spectrl
πŸ“…︎ Dec 22 2016
🚨︎ report
React Router v5 accompanied with Code Splitting, and Data Prefetching with the use of Server Side Rendering

I have a project where use react-router v3 only for one reason. The reason is the need of server side rendering with data prefetching and the most convenient way to do this is to keep centralized route config in an object or array and loop over the matching elements to fetch the data from the API on the server side. The data later is going to be passed to the client with the response HTML and stored in variable of JSON format string.

Also application uses code splitting, however with the use of babel-plugin-transform-ensure-ignore on sever side I can directly fetch the components instead of lazy loading and the native import method will be used only on client side.

Nevertheless, above-mentioned structure isn't working with react-router v5, as it's little bit difficult, since I can't use @loadable/components, as react-router official documentation suggests. Per my observation @loadable/components just generates the HTML on the server side instead of giving me the components in which I implement the fetch method responsible for server side logic.

Therefore, I would like to ask you the good structure for webpack + react-router v5 + ssr + data prefetch + redux + code splitting

I see it's quite complicated and no universal solution, however I may be wrong.

Any direction or suggestion is appreciated.

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/Cartman720
πŸ“…︎ May 02 2021
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.