Remix.run Logo
tonyhart7 5 days ago

Yeah but it "fake" sub 50ms load when you load it at the front before it shows

dlivingston 5 days ago | parent | next [-]

I guess you could call it fake or cheating, but ahead-of-time preparation of resources and state is used all the time. Speculative execution [0], DNS prefetching [1], shader pre-compilation, ... .

[0]: https://en.wikipedia.org/wiki/Speculative_execution

[1]: https://www.chromium.org/developers/design-documents/dns-pre...

tonyhart7 5 days ago | parent [-]

also dns not changing every second where you website need it

Yeah but you not only "count" it only when it shows tho????

I'am not saying its not "valid" but when you count it only when you shows it, are we really not missing a part why we need "cache" in the first place?

dietr1ch 5 days ago | parent | prev [-]

Every layer underneath tries really hard to cheat and keep things usable/fast.

This includes libraries, kernels, CPUs, devices, drivers and controllers. The higher level at which you cheat, the higher the benefits.