Compress components with gzip - J2EE
Posted
by Venkata Sirish
on Stack Overflow
See other posts from Stack Overflow
or by Venkata Sirish
Published on 2010-03-02T10:24:59Z
Indexed on
2010/03/27
4:13 UTC
Read the original article
Hit count: 365
I am looking to improve front-end performance of my application, so I used YSlow tool in Firefox. When I ran this tool for my app, in the YSlow grade tab it showed up a issue 'Grade F on Compress components with gzip'. Seems to be that we need to compress the files(js, css) while sending from the server to client to increase the server response time.
My app is a Struts Java application. Can anyone let me know how to compress and send the front end UI files(JS,CSS) from server so that the response time increases and my pages lot fastly? What are the things that I need to do to compress these files in Java at server?
© Stack Overflow or respective owner