This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-06-07
Channels
- # announcements (2)
- # asami (2)
- # babashka (15)
- # babashka-sci-dev (31)
- # beginners (130)
- # boot (4)
- # cider (5)
- # circleci (12)
- # clj-kondo (10)
- # cljs-dev (8)
- # clojure (7)
- # clojure-czech (14)
- # clojure-europe (19)
- # clojure-france (5)
- # clojure-uk (2)
- # clojured (23)
- # clojurescript (11)
- # conjure (8)
- # datomic (5)
- # emacs (1)
- # etaoin (8)
- # events (2)
- # fulcro (10)
- # graalvm (18)
- # gratitude (1)
- # holy-lambda (16)
- # honeysql (4)
- # introduce-yourself (1)
- # jobs (2)
- # kaocha (3)
- # london-clojurians (1)
- # lsp (53)
- # off-topic (16)
- # other-languages (2)
- # pathom (4)
- # pedestal (3)
- # podcasts-discuss (1)
- # portal (10)
- # re-frame (69)
- # reitit (2)
- # shadow-cljs (11)
- # vim (7)
- # xtdb (29)
What is the preferred ring-gzip wrapper? https://github.com/bertrandk/ring-gzip or https://github.com/clj-commons/ring-gzip-middleware or even something else? Are there any "gotchas"?
I would recommend configuring compression in the frontend (nginx, traefik etc) they are all capable of doing that.
Ok, thanks I will explore that.
Is there a strategy for making uberjars that don't include certain transitive dependencies? I have a provided dependency (javax.servlet-api), I've already separated it out as its own alias so I'm not directly pulling it in when I uberjar but I was just bitten by it being pulled in as a transitive dependency of one of my primary deps (ring-defaults). For now I've made it an exclusion of that dependency, but I wonder if there's a more general strategy for making sure that javax.servlet-api doesn't end up in my uberjar?
you can use the :exclude
option in the uber task (https://clojure.github.io/tools.build/clojure.tools.build.api.html#var-uber) to exclude the dir containing those classes, I think that should work
:exclude ["javax/servlet/.*"]
?