Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

wstoy3's avatar

Serving gziped files on Heroku

I'm trying to add compression for js/css/images on my Laravel app that I'm hosting with Heroku

I've googled this for about half an hour now and I've found two things:

Is there a similar package for Laravel projects hosted on heroku to enable compression? Or is it possible to pre-compress the files and serve the compressed versions to the broswer?

Thanks!

0 likes
0 replies

Please or to participate in this conversation.