Socket.io client or websocket client is a javascript object that gets destroyed and recreated when the page reloads, thus causing the disconnection and the reconnection. I dont know how can that affect node.js server performance, if this happens for every client on every page refresh?
How bad/good practise is creating new socket connection on every page refresh? I think that this is nessesary in complex web sites with many different pages on different routes(php in background), if i want use socket.io for realtime support. Or? Any alternative solution?
Please help, thanks in advance!