0

I'm currently using nginx to reverse proxy a websocket based application. Can I enable caching websocket messages to make the application available when service behind is down? I know caching is possible for HTTP requests as documented here. Is there any way I can achieve this without writing my own caching layer from scratch?

2

There's no such thing as websocket caching. Websocket is simply a messaging protocol. It transmits arbitrary messages back and forth.

| improve this answer | |
  • thank you for answering. In my case a token is used to match requests and response. I accept your answer; since websocket is generally used for full duplex communication, this requirement may not have high demand right now. – TRiNE Sep 5 '18 at 5:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.