Zo72
Zo72

Reputation: 15305

Google App Engine: How do i configure it to send some resources as zipped to save bandwidth?

Some of the static resources on my web apps would benefit if they are sent zipped (http compression) For instance I have some very large .js (javascript) files.

The js files have been minified yet they are still large and gzipping them would help.

Does anybody how to do this ?

I am using google app engine java version

Upvotes: 2

Views: 1845

Answers (1)

Chris
Chris

Reputation: 23171

App engine will automatically gzip the responses so long as the client sends the appropriate HTTP headers (specifically Accept-Encoding and User-Agent) that indicate it can accept compressed content. See this for more information.

Upvotes: 7

Related Questions