Web Workers in HTML Web Resource RRS feed

  • General discussion

  • Hi Gang,

    Since a the cross-browser support of RU12, I wanted to introduce the concept of Web Workers into our existing web resources.

    All of the samples and tutorials surrounding Web Workers use relative URI's for the javascript files called by the workers, however in a CRM HTML web resource, this relative URI is within the context of the HTML resource and so the file does not exist. Even absolute references are still within the context of this resource.

    Stack Overflow has found a workaround using HTTPRequests and Blobs (see: http://stackoverflow.com/questions/11211068/web-worker-loading-of-absolute-url), but as the workers are not started until the completion of the request, many of the speed benefits of the Web Workers are lost.

    What are others' experience of using Web Workers, or indeed other HTML5 features within CRM?

    Friday, April 19, 2013 9:06 AM