I would love to see this in node.js, especially with the addition of WorkerThreads. Currently, startup time of clis can be really impacted.
-
-
-
Using WorkerThreads with Babel or typescript or w/e, means you get to spent quite a bit of time loading those libraries rather then computing
- Još 8 drugih odgovora
Novi razgovor -
-
-
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
I hope it uses the fresh file instead of cache when there is a change.
-
When there is a change (i.e. a new response is received and it's not a HTTP 304) then it's put in the response cache and the old code cache is wiped.
Kraj razgovora
Novi razgovor -
-
-
Does
@ElectronJS activate the service worker type whole file cache? It’s close to a PWA after all. Or should every app add service worker? And what about Extensions? Firefox would do some for extensions (at least it did a decade ago, but things have changed a lot since then). -
Code caching in extensions is sadly a long standing backlog item, it makes sense to do it but no one has done it yet. I'm not sure about
@electronjs, I've not heard about them changing how it works but I've also not heard about them *not* changing it.
Kraj razgovora
Novi razgovor -
-
-
Is there a plan or possibility to add support for build-time precompilation of JavaScript into bytecode?. Something similar to what
@HermesEngine announced today https://hermesengine.dev/ - Još 2 druga odgovora
Novi razgovor -
-
-
"multiple smaller scripts tends to be more beneficial overall for reasons other than code caching (e.g. multiple network requests..." I thought multiple network requests were bad for static resources? ie vulcanize?
-
With HTTP/2, multiple requests can be made in parallel without incurring additional TCP connections. See https://developers.google.com/web/fundamentals/performance/http2/#request_and_response_multiplexing ….
- Još 2 druga odgovora
Novi razgovor -
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
(Byte)code caching reduces the start-up time of commonly visited websites by caching the result of JavaScript parsing + compilation.
How can JavaScript developers get the most out of