Hi Raul,

If you can't modify the server.xml then you have still two ways to
compress the html.

1. Use a filter. You can specify a filter in your web.xml and compress
all static content on the fly. Bad for server side performance, but it
will do the trick.
2. gzip the .cache.html files on the disk and put a filter in web.xml
that will just set the correct headers.

On Jan 6, 3:20 pm, Raul <raahoo...@gmail.com> wrote:
> Thank you Sripathi Krishnan, aditya and Fazeel Kazi
>
> Yeah you are right.. I had pretty Compilation so why all
> my .cache.html files were large in volume.
> after compiling with OBS, the size gets reduced much.
> Later I tried Tomcat Compressing option,, by modifying the Server.xml
> file and put the following options to Catellina tag:
>
> compression="on"
> compressionMinSize="2048"
> noCompressionUserAgents="gozilla, traviata"
> compressableMimeType="text/html, text/xml, text/javascript,
> application/javascript"
>
> The performance is much better now, But I am not sure whether I will
> get permission to modify the Tomcat Server.xml file, when I go to
> deply it in Web.
>
> I have not tried the code-splitting methodology yet as I am using
> GWT1.7
> But I shall work on it, as I would towards code finalizing.
>
> Thanks for your Kind Co operation
> Raul
>
> On Jan 4, 11:57 pm, aditya ch <adityac1...@gmail.com> wrote:
>
> > First of all, ensure you have enabled 'obfuscated' flag while doing
> > the GWT compilation which would hopefully reduce the size of the
> > '.cache.html' files that gets generated.
> > And if you are using latest version of GWT i.e. 2.0, try code
> > splitting and load the code only when it's required.
> > Please revert back if you still couldn't see much variations.
>
> > On Jan 5, 5:27 am, Raul <raahoo...@gmail.com> wrote:
>
> > > Hello all,
>
> > > I am developing a Database application using GWT. From very initial
> > > stage I was having slow loading problem in my app and now, as the
> > > volume and number of files gradually increasing, it is becoming
> > > worsened in terms of loading. Now my application is taking more than a
> > > minute, sometimes even more than 2 minutes to load the application in
> > > client.
>
> > > I have modified my coding style by best possible way I can, but it is
> > > not helping me out any ways to reduce the loading time.
>
> > > I have 6 .cache.html file in my application_name folder [which are
> > > generated by GWT compiler] each having average 7.5 MB in size.
>
> > > Please help me out in this issue, otherwise choosing GWT for building
> > > my application will turns out to be a wrong decision.
>
> > > Thanks in advance.
> > > Raul
-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


Reply via email to