Sasha Aickin

Results 40 comments of Sasha Aickin

FYI for anyone thinking of working on this issue: I know that @roblg poked at it and built a working prototype. Also, the biggest problem he ran into was that...

FWIW, my thinking on this has changed a bit since I filed it in #50 after I went to Velocity this past fall and started poking at server push for...

Thanks Mike! The 1.6.x versions are the versions of `compression` (which this was forked from) whereas 0.1.3 is the version of this (`shrink-ray`). I guess I should modify HISTORY.md to...

One use I cannot for the life of me decipher is at renderMiddleware.js#945: ``` renderScriptsAsync([{ text: `${res.locals.state};rfBootstrap();`, }], res); ``` I can't figure out where `res.locals.state` gets set, if ever....

@roblg got it, then it *should* be safe. The other one that scared me at first was in `FragmentDataCache.jsx`, but then I realized it gets sanitized since it's inside JSX.

> So... You working on this? When can I play with it? I'm only thinking about it as of yet, and I may work on it, but I wanted to...

Oh, sorry to double post, but one other thought. In any case, a good first step might be a Service Worker that just aggressively downloads and caches the JS and...

> My intuition is that browsers do "just handle this", since the "whole point" of web workers, iiuc, is to do work in the background that doesn't affect the ui...

I've seen that but haven't yet played with it. If it works, I think it could implement a simple "cache the static assets" strategy, but not a more complex strategy...

> Ideas for how to send the timing info? Seems like easiest would be to just send it in the primary document like late data responses and node arrival alerts....