Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我的 Clojure 应用程序与一个缩小的 600KB+ ClojureScript JS 工件一起部署在 Heroku 上,我在/js/main.js.
/js/main.js
如何在 http-kit 上启用 gzip 压缩以减少我的 JS 工件的大小?
http-kit 不支持,通常你还是想使用像 Nginx 这样的代理。由于 Heroku 可能没有该选项,因此您可以通过 ring 中间件进行压缩,请参阅此问题以获取指针。