rookLab / react-component-caching

Speedier server-side rendering with component caching in React 16
388 stars 26 forks source link

Memcached GetMulti #44

Open ScriptedAlchemy opened 6 years ago

ScriptedAlchemy commented 6 years ago

Hey!

So I pretty much just did this for Rapscallion and wanna clarify if it needs to be done here.

Essentially I cant make individual calls to Memcached, the traffic I'm dealing with is massive. Pretty much do you use memecached.getMulti?

What I did for rapscallion is hook into its renderer and get the keys ahead of the actual render, so when its time to render, I've already got the whole cache in-memory.

Rapscallion is old and I want a faster solution when React 16. Yours is pretty much the best out there to date. Let me know if you need help, I'll be doing it either way if you don't have it :)

Do I need to open a PR or do you already do it?