r3labs / sse

Server Sent Events server and client for Golang
Mozilla Public License 2.0
870 stars 180 forks source link

Question: Cache mode of SSE client #159

Closed g41797 closed 1 year ago

g41797 commented 1 year ago

Hi According to client.go: req.Header.Set("Cache-Control", "no-cache") According to https://html.spec.whatwg.org/multipage/server-sent-events.html: Set request's cache mode to "no-store".

What was the reason of the change? Thanks