I have run google page speed and it is saying that I should Gzip my javascript files?
How do I gzip my javascript files? My website is hosted on heroku if that mattter
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This answer is out of date but I can’t delete it because it was accepted. So I’m turning it into a community wiki so that people can fix it up.
Heroku should be gzipping everything automatically (as long as the client supports it of course). From an old blog post:
And from the current documentation: