I'm looking to use a clojure library in a CLI that has a caching mechanism, which is used in a long running server process. In that context it makes perfect sense, but in the CLI it's only bloating my binary. I have access to all the library source code, and can make modifications there. Is there a way I could conditionally control if it gets included in the binary?
#ifdef style
duckie One solution is to move the invocation of the caching to a separate ns, and then require the un-cached variant in the cli code.