Results 1 to 5 of 5

Thread: ext-all.js and ext-all.css cannot be gzipped by Tomcat

  1. #1
    Sencha User
    Join Date
    Dec 2007
    Posts
    6

    Default ext-all.js and ext-all.css cannot be gzipped by Tomcat

    Hi all,

    I have encountered the following problem. I have turned ON the compression for tomcat server to gzip all .js files in order to reduce the filesize. Now, all .js files have been gzipped except "ext-all.js" which is the biggest file, ~650kb.

    As shown on the attachment, other js files are compressed, except ext-all.js

    And this is the setting on my tomcat server.xml
    <Connector bufferSize="716800" connectionTimeout="60000" maxHttpHeaderSize="8192"
    port="8180" protocol="HTTP/1.1" maxThreads="30" minSpareThreads="10" maxSpareThreads="10"
    redirectPort="9543" address="192.168.1.83"
    compression="force" compressionMinSize="10000" noCompressionUserAgents="gozilla,traviata"
    compressableMimeType="text/html,text/xml,text/plain,text/css,text/javascript" />

    Hope that someone with the same experience in the past can shed some lights.

    And if there're other ways to reduce the size of ext-all.js, please let me know. Currently I'm using extjs 3.0 but the custom build is for version 2.0. Is there a custom build for version 3.0 as well?
    Attached Images Attached Images

  2. #2
    Sencha User
    Join Date
    Dec 2007
    Posts
    6

    Default

    Hi,

    Wondering if anyone has the same experience before?

  3. #3
    Sencha User
    Join Date
    Mar 2007
    Posts
    7,854

    Default

    Given that you've gone several days without a response, I'd suggest that you might be better off asking in a tomcat support forum.

    You can do custom builds with Ext3x by modifying the jsb files and using JsBuilder - http://www.sencha.com/forum/showthre...-how-to-use-it

  4. #4
    Sencha User
    Join Date
    Dec 2007
    Posts
    6

    Default

    Hi Tryan,

    thanks for replying me.. I have tried jsbuilder and managed to cut down the size by 50k. And I still think that's too big. I'm quite strange though on some browsers, the js file just loaded once, but in some cases, every page will cause the browser to reload the js file again. Is there a way to force the browser to use cached file instead of having to reload? I mean configuration on the server side.

  5. #5

    Default

    Hi asugama,

    Can you please elaborate how you managed to cut down the size of extjs by 50k? I tried the same jsb file but it builds a huge 650 KB file.

    I am trying to use lightbox functionality only. Is there a way to use the subset of the extjs to achieve this?

    Thanks!

Similar Threads

  1. Ext on Xampp-tomcat
    By mahendra_gayatri in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 1 Feb 2009, 7:37 PM
  2. ext not processing under tomcat
    By rpetras in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 20 Jan 2009, 1:17 PM
  3. Ext GWT Styles lost when using External Tomcat server
    By kayteeem in forum Ext GWT: Help & Discussion (1.x)
    Replies: 0
    Last Post: 19 Nov 2008, 9:31 PM
  4. Ext-GWT Tomcat deployment
    By Dariusz in forum Ext GWT: Help & Discussion (1.x)
    Replies: 11
    Last Post: 3 Jul 2008, 6:29 AM
  5. Ext + tomcat 5.0
    By erojas in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 17 Nov 2007, 7:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •