Osano and Web Workers

  • Updated

As of April 2021, the Osano Consent Manager Script has been updated to utilize "Web Workers." Web Workers are a simple means for web content to run scripts in background threads. The worker thread can perform tasks without interfering with the user interface. 

Before the implementation of web workers, script, iframe, and cookie classification worked synchronously using the main "rule" thread. This is always "render-blocking" and could cause a slowdown in performance and rendering based on the order of operations. 

Web workers allow for the off-loading of classification of async scripts to web-works, which can potentially cut down processing time though not guaranteed. If you have not published your CMP configuration since 4/2021, you will need to republish to inherit these changes. 

***Please be sure to test these changes in a pre-production environment if able.***