Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 8223

Web Workers in HTML Web Resource

$
0
0

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?


Viewing all articles
Browse latest Browse all 8223

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>