rynorris / blog

My personal blog
MIT License
0 stars 0 forks source link

Websocket support #15

Closed rynorris closed 9 years ago

rynorris commented 9 years ago

The site is designed at the moment to support two ways of dynamically loading content:

  1. Over a websocket connection.
  2. Using standard Ajax requests.

The websockets have a bunch of benefits over ajax:

However they aren't supported on all devices. It's possible to have the browser autodetect if websockets are supported, however they way I've currently done this doesn't work. At least not in chrome for Android. For now I've disabled the websocket version entirely, but it should be re-enabled at some point once I fix the capability detection.

rynorris commented 9 years ago

Looks like this is fixed by the refactoring done in dda3f353bfc9810547bac7abd3e28ca48d205f28. At least, the site works properly in Chrome for Android now. Closing.