Friday, March 25, 2011

Re: gae gwt - to serve compressed java script

Will appreciate any suggestions to fix this.


On Mar 24, 11:11 pm, pac <parvez.chau...@gmail.com> wrote:
> I did post this in gae forumhttps://groups.google.com/forum/?fromgroups#!topic/google-appengine-j...
>
> Posting here as well if somebody can suggest something.
>
> It looks that app engine is not serving compressed contents.
> Is there something I need to configure? though it says that it does
> that automatically
>
> http://code.google.com/appengine/kb/general.html#compression
>
> I have application written in gwt and java scripts are served
> uncompressed from app engine as per Page Speed plugin of Chrome and
> FireFox. It suggests to enable compression.
>
> From Page Speed:
>
> Compressing ...../4.cache.js could save 336.2KiB (77% reduction).
>
> From Live HTTP Headers plugin of Firefox:
>
> ...../4.cache.js
>
> GET ...../4.cache.js HTTP/1.1
> Host: <Website name>
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:
> 1.9.2.16) Gecko/20110319 Firefox/3.6.16 ( .NET CLR 3.5.30729)
> Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/
> *;q=0.8
> Accept-Language: en-gb,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 115
> Proxy-Connection: keep-alive
> Referer: <Website name>
> If-None-Match: "X3ERbg"
> Cache-Control: max-age=0
>
> HTTP/1.1 200 OK
> Via: 1.1 SRV-IE-GATEWAY
> Connection: Keep-Alive
> Proxy-Connection: Keep-Alive
> Transfer-Encoding: chunked
> Age: 598
> Expires: Thu, 22 Mar 2012 11:44:33 GMT
> Date: Wed, 23 Mar 2011 11:44:33 GMT
> Content-Type: application/x-javascript
> Etag: "X3ERbg"
> Server: Google Frontend
> Cache-Control: public, max-age=31536000
>
> May be I am wrong, but I am guessing that if app engine is serving
> compressed contents then in its response it will say something like
>
> Content-Encoding: gzip
>
> May be I am missing something, any suggestions to fix it?
>
> Thanks.

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment