Sketchboard Adds Synchronization Between Browser ‘s Tabs

Sketchboard
Sketchboard Tips
Published in
2 min readApr 4, 2016

Sometimes people open a same web page on browser’s different tabs. This is most probably just an accident and is not really intended, but it happens. You might do the same thing with Sketchboard as well.

Synchronizing tabs’ content using browser’s local stroge

Opening a same board multiple times between browser tabs used to cause problems on Sketchboard. If you just viewed the content it was fine, but if you made any changes, those were not shown on another browser’s tab. E.g. if you had board with id abcd1234 open on two different browser tabs, changes made on one tab didn’t show up on another tab.

Now this has been changed and changes are synchronized between tabs.

iPad Limitations

This doesn’t still fully apply on iPad. For a while on iPad tabs are synchronized, but after a some period of time probably iOS battery saving steps in and tabs are no longer synchronized.

You should always keep a board open only once on iPad tabs

IE11 is not supported

Synchronization between browser tabs on IE11 is not supported.

Technical Solution

Sketchboard uses browser’s local storage to synchronize board content between tabs. It means that board changes won’t travel all the way to a server for synchronization, changes made offline are shown on another tab as well.

Note, offline support is only meant for a very short internet connectivity issues like when sketching diagrams on a train where internet connectivity might drop only for a brief while.

--

--