heroku / heroku-buildpack-emberjs

**This buildpack is deprecated!** Please use the official Node.js buildpack combined with the static or nginx buildpack instead.
71 stars 28 forks source link

Enable compression (gzip) without fastboot #20

Closed ghost closed 2 years ago

ghost commented 7 years ago

In this issue (https://github.com/heroku/heroku-buildpack-emberjs/issues/14) they spoke about gzip when using Fastboot.

And if not?

Dhaulagiri commented 7 years ago

@johnunclesam it should enabled by default via the static buildpack which is used by this buildpack. Are you seeing differently?

ghost commented 7 years ago

Yes, in my Chrome I see total 900KB instead of 240KB (which is the size Heroku tells me when I deploy). And in "Content-Encoding" I see nothing (in "Network" Tab).

Dhaulagiri commented 7 years ago

@johnunclesam I'm not able to reproduce this when I create a fresh app from this Heroku button that uses this buildpack. Do you have a custom static.json defined or any other config that might overriding the default behavior?

ghost commented 7 years ago

Dear @Dhaulagiri 3 minutes ago I tried with https://example.herokuapp.com and everything ok. But If I try with http://example.com which is a CNAME to that, it is not working in my Chrome. Strange affair.

If I test with http://gzipwtf.com/ the same http://example.com it works. Chrome no. Why this?

Just HTTPS problem?

I'm using Namecheap for domain and CNAME.

I have a free dyno and not an ssl endpoint (which is just too expensive).

hone commented 7 years ago

https should not have an affect. Can you provide a repro case for us to dig into this more?

edmorley commented 2 years ago

This buildpack has been deprecated (c06c1e31291c24f71e8d84225727887506c3c897), and it's also no longer possible for changes to be made to it, due to the issues mentioned in #61.