What is the content-type request for text/event-stream?

Recently, when learning the hot update of webpack, we found that there is a _webpack_hmr request, content-type is text/event-stream, which we haven't seen before, so learn to record it. Web pack hot updates need to push information to browsers, and websocket is usually thought of, but there is another way, called Server-Sent Events (SSE). SSE i ...

Posted on Thu, 10 Oct 2019 03:24:39 -0700 by prashanth0626

What exactly did webpack do?

Links to the original text: https://segmentfault.com/a/1190000015973544 Nowadays, it seems that the times have abandoned the use of a web pack as a front-end. Every day, when developing, npm run dev should go online. Anyway, you can pack i ...

Posted on Thu, 22 Aug 2019 02:52:57 -0700 by oboedrew

Seismic - PostgreSQL 10.0 preview performance enhancement - WARM performance doubled

Label PostgreSQL, 10.0, WARM, Write Enlargement, Index Write Enlargement background Currently, the MVCC of PostgreSQL is implemented in multiple versions. When data is updated, new versions are generated. (The community is starting to add a rollback-based storage engine) Because the index stores KEY+CTID (line number), when the new version o ...

Posted on Tue, 01 Jan 2019 04:18:08 -0800 by wazo00