Other Configurations > Improve the Performance of ThingView WebGL
  
Improve the Performance of ThingView WebGL
To improve the performance of the ThingView WebGL widget, we recommend optimizing the widget with WebAssembly MIME types.
Configure the Apache Tomcat server to support WebAssembly MIME types as a file, by editing the web.xml and server.xml files:
1. First, stop Apache Tomcat and ThingWorx Integration Runtime. If you have Single Sign-on, continue to step 2. For Windchill Authentication, skip to step 3.
2. For systems with Single Sign-on—Edit the web.xml file:
a. Open <Tomcat installation location>\webapps\Thingworx\WEB-INF\web.xml in a text editor.
b. Scroll down to the end of the file, then add the following lines:
<mime-mapping>
<extension>wasm</extension>
<mime-type>application/wasm</mime-type>
</mime-mapping>
3. For systems with Windchill Authentication, web.xml already has the required MIME settings by default.
* 
If you’re using a multiple Windchill connection, copy the web.xml file from the folder: <Navigate installation location>\MultiWindchillConfiguration\idp\.
Alternatively, if you downloaded ptc-windchill-extension separately, you can also copy the web.xml file from the ptc-windchill-extension\idp\twx-8.3.x\multi folder.
4. To add the compression settings for any authentication type, open <Tomcat installation location>\conf\server.xml in a text editor.
5. Add the following compression attributes in the connector port section:
compression="on"
compressionMinSize="1024"
compressableMimeType="application/wasm,text/html,text/xml,text/plain,text/css,text/javascript,application/javascript"/>
6. Start Apache Tomcat and ThingWorx Integration Runtime.