svn commit: r1836871 - /ofbiz/ofbiz-framework/trunk/framework/catalina/ofbiz-component.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1836871 - /ofbiz/ofbiz-framework/trunk/framework/catalina/ofbiz-component.xml

Deepak Dixit-5
Author: deepak
Date: Sat Jul 28 06:26:48 2018
New Revision: 1836871

URL: http://svn.apache.org/viewvc?rev=1836871&view=rev
Log:
Improved: Use application/javascript instead of text/javascript
(OFBIZ-10492)
Updated compressibleMimeType list and use application/javascript in place of text/javascript

Modified:
    ofbiz/ofbiz-framework/trunk/framework/catalina/ofbiz-component.xml

Modified: ofbiz/ofbiz-framework/trunk/framework/catalina/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/framework/catalina/ofbiz-component.xml?rev=1836871&r1=1836870&r2=1836871&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/framework/catalina/ofbiz-component.xml (original)
+++ ofbiz/ofbiz-framework/trunk/framework/catalina/ofbiz-component.xml Sat Jul 28 06:26:48 2018
@@ -104,7 +104,7 @@ under the License.
             <property name="URIEncoding" value="UTF-8"/>
             <property name="xpoweredBy" value="false"/>
             <property name="compression" value="on"/>
-            <property name="compressibleMimeType" value="text/html,text/xml,text/plain,text/javascript,text/css,application/json"/>
+            <property name="compressibleMimeType" value="text/html,text/xml,text/plain,text/css,application/javascript,application/json"/>
             <!-- commented out because the values match the Tomcat defaults:
             <property name="allowTrace" value="false"/>
             <property name="enableLookups" value="false"/>
@@ -134,7 +134,7 @@ under the License.
             <property name="URIEncoding" value="UTF-8"/>
             <property name="xpoweredBy" value="false"/>
             <property name="compression" value="on"/>
-            <property name="compressibleMimeType" value="text/html,text/xml,text/plain,text/javascript,text/css,application/json"/>
+            <property name="compressibleMimeType" value="text/html,text/xml,text/plain,text/css,application/javascript,application/json"/>
             <!-- SSL connector attributes -->
             <property name="sslImplementationName" value="org.apache.tomcat.util.net.jsse.JSSEImplementation"/>
             <property name="algorithm" value="SunX509"/>
@@ -188,7 +188,7 @@ under the License.
             <property name="URIEncoding" value="UTF-8"/>
             <property name="xpoweredBy" value="false"/>
             <property name="compression" value="on"/>
-            <property name="compressibleMimeType" value="text/html,text/xml,text/plain,text/javascript,text/css,application/json"/>
+            <property name="compressibleMimeType" value="text/html,text/xml,text/plain,text/css,application/javascript,application/json"/>
         </property>
         <property name="https-connector" value="connector">
             <!--<property name="address" value=""/>-->
@@ -200,7 +200,7 @@ under the License.
             <property name="URIEncoding" value="UTF-8"/>
             <property name="xpoweredBy" value="false"/>
             <property name="compression" value="on"/>
-            <property name="compressibleMimeType" value="text/html,text/xml,text/plain,text/javascript,text/css,application/json"/>
+            <property name="compressibleMimeType" value="text/html,text/xml,text/plain,text/css,application/javascript,application/json"/>
             <property name="sslImplementationName" value="org.apache.tomcat.util.net.jsse.JSSEImplementation"/>
             <property name="algorithm" value="SunX509"/>
             <property name="keystoreFile" value="framework/base/config/ofbizssl.jks"/>