I recently tried using gzip compression to improve web UI performance. I configured Tomcat Connector as below.
Below is RequestHeader - Accept-Encoding is gzip, deflate.
Key Value Request GET /app/jquery-ui.min.js HTTP/1.1 Accept */* Referer https://cdduat.app.com/Apptech/ Accept-Language en-US User-Agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; Trident/7.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.3) Accept-Encoding gzip, deflate Host cdduat.app.com Connection Keep-Alive Cache-Control no-cache Cookie JSESSIONID=CB793FFEE9A34B5B8E7DE34A17C90B5D; mbox=session#1436174197635-942865#1436176058|PC#1436174197635-942865.28_07#1437383802; s_fid=498342221B10B4ED-297E46742B9393BE; s_vi=[CS]v1|2ACD23BB851D5DBF-40001903C00C9391[CE]; oo_event_entry=41eebf1007f6e19f5b0ee4b5841be2441e970f9c
For response header - there is no Accept-enconding key value. Moreover I'm not sure if its working or not. Below is Response Header. Web form load time is still the same. Not sure if I am doing anything wrong here.
Also I could see Cache-control value as no-cache. Does it mean browser wont cache JS files and request for those resources again on subsequent request?
I noticed Transfer-encoding as chunked. Not sure if it may or may not override gzip encoding. Any help or guidance would be really helpful.