[google-appengine] Re: Node 8 Standard (Express) not gzipping content

2018-10-29 Thread Jason Collins
Today, we are not passing through the `Accept-Encoding` header, so it is 
not possible for your middleware to decide that it should compress. 

We will roll out a fix for this in the new few weeks.


On Monday, 29 October 2018 06:12:50 UTC-7, Steve Geer wrote:
>
> I have run into an issue where app engine standard is not gzipping 
> responses.  It's a basic express universal application based on the docs at 
> angular.io , with the addition of the 
> compression middleware recommended by the express documentation.
>
> It's a very simple Angular 7 universal project, which can been seen here 
> .
>
> If you open the network tab you'll notice none of the assets are gzipped.
>
> Github 
> Stackoverflow 
> 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fb3dcb81-4a5e-45f0-94bc-1f3db0ab625b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Node 8 Standard (Express) not gzipping content

2018-10-30 Thread Attila-Mihaly Balazs
Please also note that there are some weird rules around the Google Frontend 
gzipping / not gzipping the response - it doesn't always respect 
"Accept-Encoding", but rather does some user agent sniffing: 
https://cloud.google.com/appengine/docs/standard/python/how-requests-are-handled#response_compression

Attila

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/88fe5d95-56b8-40f7-9508-609d657b63e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Node 8 Standard (Express) not gzipping content

2018-11-16 Thread Steve Geer
Thank you for the update, Jason.  I'll keep an eye on it.

On Monday, October 29, 2018 at 2:03:47 PM UTC-7, Jason Collins wrote:
>
> Today, we are not passing through the `Accept-Encoding` header, so it is 
> not possible for your middleware to decide that it should compress. 
>
> We will roll out a fix for this in the new few weeks.
>
>
> On Monday, 29 October 2018 06:12:50 UTC-7, Steve Geer wrote:
>>
>> I have run into an issue where app engine standard is not gzipping 
>> responses.  It's a basic express universal application based on the docs at 
>> angular.io , with the addition of 
>> the compression middleware recommended by the express documentation.
>>
>> It's a very simple Angular 7 universal project, which can been seen here 
>> .
>>
>> If you open the network tab you'll notice none of the assets are gzipped.
>>
>> Github 
>> Stackoverflow 
>> 
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4314a885-afc7-4beb-b4c7-bcc29ad1bef8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Node 8 Standard (Express) not gzipping content

2018-11-16 Thread Jason Collins
Follow https://issuetracker.google.com/issues/117814186 for resolution.

On Friday, 16 November 2018 08:50:10 UTC-8, Steve Geer wrote:
>
> Thank you for the update, Jason.  I'll keep an eye on it.
>
> On Monday, October 29, 2018 at 2:03:47 PM UTC-7, Jason Collins wrote:
>>
>> Today, we are not passing through the `Accept-Encoding` header, so it is 
>> not possible for your middleware to decide that it should compress. 
>>
>> We will roll out a fix for this in the new few weeks.
>>
>>
>> On Monday, 29 October 2018 06:12:50 UTC-7, Steve Geer wrote:
>>>
>>> I have run into an issue where app engine standard is not gzipping 
>>> responses.  It's a basic express universal application based on the docs at 
>>> angular.io , with the addition of 
>>> the compression middleware recommended by the express documentation.
>>>
>>> It's a very simple Angular 7 universal project, which can been seen here 
>>> .
>>>
>>> If you open the network tab you'll notice none of the assets are gzipped.
>>>
>>> Github 
>>> Stackoverflow 
>>> 
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ff75509d-b491-4fb1-9b6a-97dbb8a5c9c4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.