cljsfiddle

escherize 2016-03-23T01:05:20.000011Z

@chrisoakman: Thanks for donating the mockup!!

escherize 2016-03-23T01:05:52.000012Z

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

escherize 2016-03-23T01:06:19.000013Z

@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

nberger 2016-03-23T02:29:10.000015Z

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

escherize 2016-03-23T02:29:24.000016Z

Great.

escherize 2016-03-23T02:29:40.000017Z

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

escherize 2016-03-23T02:29:59.000018Z

Here's the result: http://take.ms/ufWXW

escherize 2016-03-23T02:30:40.000020Z

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

escherize 2016-03-23T02:34:18.000021Z

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

escherize 2016-03-23T03:54:31.000022Z

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

👍 3
nberger 2016-03-23T13:54:10.000025Z

@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

nberger 2016-03-23T13:56:44.000027Z

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