Will appreciate any suggestions to fix this

On Mar 24, 12:02 pm, pac <[email protected]> wrote:
> Hi Didier,
>
> Yes, I have looked into this.
> It says if request has gzip then app engine will supply compressed
> contents.
>
> So in this case request does have gzip i.e.
>
> Accept-Encoding: gzip,deflate
>
> But it looks that it still does not send compressed data.
>
> I am not sure what can I do to fix it.
>
> Thanks.
>
> On Mar 24, 11:56 am, Didier Durand <[email protected]> wrote:
>
> > Hi,
>
> > It's depending on certain values in the header of the request: 
> > seehttp://code.google.com/appengine/docs/java/runtime.html#Responses
>
> > regards
>
> > didier
>
> > On Mar 24, 11:46 am, pac <[email protected]> wrote:
>
> > > 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 App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to