This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-03
Channels
- # aws (5)
- # beginners (67)
- # boot (30)
- # cider (55)
- # clara (7)
- # cljs-dev (6)
- # cljsjs (6)
- # cljsrn (1)
- # clojure (136)
- # clojure-brasil (2)
- # clojure-dusseldorf (14)
- # clojure-finland (9)
- # clojure-italy (49)
- # clojure-nl (1)
- # clojure-romania (6)
- # clojure-russia (4)
- # clojure-uk (16)
- # clojurescript (136)
- # core-async (1)
- # cursive (21)
- # datomic (64)
- # fulcro (26)
- # hoplon (25)
- # jobs-discuss (53)
- # keechma (3)
- # leiningen (6)
- # luminus (11)
- # lumo (2)
- # off-topic (351)
- # om (1)
- # onyx (11)
- # parinfer (32)
- # portkey (9)
- # re-frame (45)
- # reagent (38)
- # shadow-cljs (60)
- # specter (9)
- # vim (8)
- # yada (22)
does hoplon have a twitter account?
^^ drift widget for hoplon
just call (hoplon-drift.hoplon/snippet your-drift-id)
@jumblerg hey, i put a PR up with a few additions to the s3 bucket task https://github.com/tailrecursion/boot-bucket/pull/2
main thing is that you can set metadata so you can gzip your files before sending them to s3
which gets around the 10mb limit on cloudfront, is slightly faster, and means you use less storage on s3
it's compatible with https://github.com/martinklepsch/boot-gzip
so you can do this
(gzip
:files {"index.html" "index.html"
"index.html.js" "index.html.js"
"main.css" "main.css"})
(spew
:bucket (environ.core/env :aws-bucket)
:access-key (environ.core/env :aws-access-key)
:secret-key (environ.core/env :aws-secret-key)
:metadata {"index.html" {:content-encoding "gzip"}
"index.html.js" {:content-encoding "gzip"}
"main.css" {:content-encoding "gzip"}})
@jumblerg if/when you pull, please remember to push to clojars đŸ˜‰
my index.html.js
just hit 10.05 mb so blows up cloudfront đŸ˜›
oh also i made it push the files in parallel
testing it out...
@jumblerg mostly works, looks like metadata doesn't work for files in directories
i'll see if i can fix
bah, browser cache!
false alarm