Fork me on GitHub
#cljsfiddle
<
2016-03-23
>
escherize01:03:20

@chrisoakman: Thanks for donating the mockup!!

escherize01:03:52

I wanted to leave the sample so that the fiddle could be a place for people who have never heard of or seen cljs to come and take a gander

escherize01:03:19

@nberger: that's a fabulous idea - I'll look into it. As things are now it's just hosted on an s3 instance, which makes gzipping tricky iirc

nberger02:03:10

@escherize awesome, ping here if you think we can help in any way

escherize02:03:40

I've used some python utility to gzip the target directory.

escherize02:03:40

That's when I run a server locally via python -m SimpleHTTPServer 8081 - so I think it's not putting the proper gzipped header

escherize02:03:18

I can try uploading it to s3 and see if it automatically updates the Content-Encoding header.

escherize03:03:31

I gave a talk about cljsfiddle targeted toward beginners last night at the sydney clojure meetup, slides here: http://escherize.com/cljsfiddle_talk/

nberger13:03:10

@escherize not sure what's the best way to do it with S3 but no cloudfront. Cloudfront can do it for you automatically: http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/ServingCompressedFiles.html . Also, don't think you should test it with SimpleHTTPServer, this is very dependent on the web server

nberger13:03:44

And perhaps by using https://github.com/hashobject/boot-s3 and https://github.com/martinklepsch/boot-gzip everything can be done smoothly from boot