Does App Engine Flexible automatically gzip responses? - google-app-engine

App Engine Standard supports automatic gzip compression of responses if the client has the correct Accept-Encoding and User-Agent headers set on the request. Info on this can be found here and here.
I am running a project in the App Engine Flexible Beta and it does not auto compress the responses. Is auto response compression present on the Flexible Beta? If not, what is the recommended approach to compress responses?

Presently, App Engine Flexible Beta will not compress responses. Most web servers can be configured to compress responses. Which web server are you using?

Related

Is it possible to use Google Cloud CDN with App Engine Standard environment?

I see no way to connect my app engine backends with Cloud CDN. Seems like it's only available when using Compute Engine directly.
No, that is not currently possible. Currently, Google Cloud CDN can be used only to serve content that originates from Cloud Storage buckets, Compute Engine instance groups, and Compute Engine network endpoint groups. I agree that it would make sense to support App Engine Standard, too!
Update
Currently in beta is Serverless NEGs (Network Endpoint Groups) which will allow you to use App Engine behind a HTTP(S) Load balancer and give you all the features provided with that including CDN
Original
Yes, App Engine will serve content via Google Cloud CDN as long as a cacheable response is returned.
Try setting the Cache-Control header to something like max-age=86400, public and ensuring a Set-Cookie header is not sent with the response

Google AppEngine - Detect If Client Supports HTTP/2

I deploy my website to google appengine and I want to take advantage of http/2 (specifically http push) for clients which support it but still serve the bundled version to http/1.x clients.
How can I check the protocol version (using python or even the app.yaml)?
Check the request header for Upgrade or send a 426 upgrade reqd

Can I disable SPDY on a HTTPS AppEngine request?

If I use HTTPS on App Engine, Google servers automatically serve it using SPDY to compatible browsers. Is there a way to override this (any settings or special header)? I want to use old HTTP/1.1 when using HTTPS

app engine https spdy

i'm using https on appengine. i checked not all request are using https spdy in firefox. Is there any thing that need to configure so that all requests are using spdy ?
?
As long as the file is served over https and by appengine servers, then it will be served over SPDY -- if the browser supports SPDY that is. Can't tell from your screenshot.. but if any of those files come from a different origin (ex, a third party widget), then those files may be served over plain HTTPS if they don't support SPDY.

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
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.

Resources