3 ms·
> WebSockets (real-time updates of comment timestamps) What are you talking about?
by scrollaway 11y ago
> WebSockets (real-time updates of comment timestamps)
What are you talking about?
- Qwertious 11y ago>scrollaway 9 hours ago | parent | flag If I leave this up for an hour without refreshing, I'll get: >scrollaway 10 hours ago | parent | flag Again, without ever refreshing the page.
- function_seven 11y agoCan't that be done purely in the client? Why use WebSockets to to remote math?
- scrollaway 11y agoIt can be done with a few lines of javascript. You certainly don't need to contact the server to ask them how long ago a certain time was.