hoplon

The :hoplon: ClojureScript Web Framework - http://hoplon.io/
2018-04-03T04:07:46.000162Z

does hoplon have a twitter account?

2018-04-03T04:10:30.000079Z

^^ drift widget for hoplon

2018-04-03T04:10:54.000124Z

just call (hoplon-drift.hoplon/snippet your-drift-id)

2018-04-03T13:32:16.000571Z

@jumblerg hey, i put a PR up with a few additions to the s3 bucket task https://github.com/tailrecursion/boot-bucket/pull/2

2018-04-03T13:32:47.000643Z

main thing is that you can set metadata so you can gzip your files before sending them to s3

2018-04-03T13:33:17.000034Z

which gets around the 10mb limit on cloudfront, is slightly faster, and means you use less storage on s3

2018-04-03T13:33:56.000180Z

awesome! will pull in a bit.

2018-04-03T13:34:15.000463Z

it's compatible with https://github.com/martinklepsch/boot-gzip

2018-04-03T13:34:20.000743Z

so you can do this

2018-04-03T13:34:26.000440Z

(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"}})

2018-04-03T13:36:37.000452Z

@jumblerg if/when you pull, please remember to push to clojars ๐Ÿ˜‰

2018-04-03T13:37:13.000580Z

my index.html.js just hit 10.05 mb so blows up cloudfront ๐Ÿ˜›

2018-04-03T13:37:19.000636Z

cool - thatโ€™ll benefit me too. willdo.

2018-04-03T13:37:53.000740Z

many thanks for the contribution.

2018-04-03T13:41:38.000514Z

np

2018-04-03T13:41:49.000108Z

oh also i made it push the files in parallel

2018-04-03T13:57:10.000269Z

just pushed another snapshot

2018-04-03T13:59:45.000136Z

sweet

2018-04-03T14:01:14.000220Z

testing it out...

2018-04-03T14:11:21.000276Z

@jumblerg mostly works, looks like metadata doesn't work for files in directories

2018-04-03T14:11:29.000665Z

i'll see if i can fix

2018-04-03T14:17:39.000076Z

k!

2018-04-03T14:34:29.001168Z

bah, browser cache!

2018-04-03T14:34:57.000869Z

false alarm