Files
2012-02-21 01:15:00 -05:00

1 line
4.2 KiB
JSON

[{"user_id": 7376, "stars": [], "topic_id": 34785, "date_created": 1305134381.0803089, "message": "So what's your build system of choice? With large web apps it's nice to be able to break up files into logical modules. What do you use to turn that into one big file?", "group_id": 160, "id": 1010610}, {"user_id": 28862, "stars": [], "topic_id": 34785, "date_created": 1305154343.780549, "message": "closure compiler, recently", "group_id": 160, "id": 1015802}, {"user_id": 22218, "stars": [], "topic_id": 34785, "date_created": 1305183598.646102, "message": "What platform are you running? granule - Java JS/CSS optimization solution (tag and ant,servlet ... is a pretty good solution for Java", "group_id": 160, "id": 1021181}, {"user_id": 28328, "stars": [], "topic_id": 34785, "date_created": 1305185812.1592319, "message": "ant + google closure or yuicompressor.", "group_id": 160, "id": 1021533}, {"user_id": 16058, "stars": [{"date_created": 1305244550.682982, "user_id": 13919}, {"date_created": 1305423253.1841199, "user_id": 28862}], "topic_id": 34785, "date_created": 1305223636.8657401, "message": "Big one file == fail. I use async loaders such as head.js", "group_id": 160, "id": 1027071}, {"user_id": 7376, "stars": [{"date_created": 1305626068.4132481, "user_id": 16058}], "topic_id": 34785, "date_created": 1305259350.1247611, "message": "@ericmoritz Currently it's been reduced to three scripts, the core engine, the widget's data and the theme being applied to that data. The widget data and the theme are loaded asynchronously but the core engine is only 30k but it's made up of 11 distinct \"modules\".", "group_id": 160, "id": 1034666}, {"user_id": 7376, "stars": [], "topic_id": 34785, "date_created": 1305259057.6668611, "message": "@myfreeweb I don't have that luxury, this is the framework for a widget system my company provides, it needs to be delivered in as few round trips as possible.", "group_id": 160, "id": 1034590}, {"user_id": 7376, "stars": [], "topic_id": 34785, "date_created": 1305259420.1838429, "message": "At the moment I'm using a Makefile that cat's the files and then runs it through closure", "group_id": 160, "id": 1034684}, {"user_id": 1516, "stars": [], "topic_id": 34785, "date_created": 1305274284.38451, "message": "closure compiler + Rakefile", "group_id": 160, "id": 1038100}, {"user_id": 15507, "stars": [{"date_created": 1305292583.3053529, "user_id": 1243}, {"date_created": 1305299592.1558499, "user_id": 13919}], "topic_id": 34785, "date_created": 1305276899.3254471, "message": "I'm using RequireJS + Uglify (http://requirejs.org/docs/optimization.html)", "group_id": 160, "id": 1038633}, {"user_id": 7376, "stars": [], "topic_id": 34785, "date_created": 1305295900.0460291, "message": "@Shiki I though RequireJS was a async loader but it looks like a build system as well. I'll check that out thanks.", "group_id": 160, "id": 1041763}, {"user_id": 1709, "stars": [], "topic_id": 34785, "date_created": 1305400327.8923409, "message": "@ericmoritz sounds like sprockets might be a good fit: http://getsprockets.org/", "group_id": 160, "id": 1054185}, {"user_id": 33289, "stars": [{"date_created": 1305626072.9277439, "user_id": 16058}], "topic_id": 34785, "date_created": 1305420196.8375399, "message": "check out Smoosh! It does file size analysis (min, full, and gzip), packaging, versioning, and uses Uglify under the hood including JSHint for the linting option. Plus it has a CSS option using a compressor I wrote called Sqwish. Check it out at https://github.com/fat/smoosh", "group_id": 160, "id": 1056638}, {"user_id": 12817, "stars": [], "topic_id": 34785, "date_created": 1305527758.8054559, "message": "I'm doing the same as @ericmoritz, except after I compress all of my code, I throw precompressed 3rd-party libraries (jQuery et al) into the same file so it's all one big file. Combine that with far-future expires headers, and you're set.", "group_id": 160, "id": 1068140}, {"user_id": 12817, "stars": [], "topic_id": 34785, "date_created": 1305527946.7616439, "message": "IMHO a slow initial page load degrades the experience of a web app much less than slow subsequent loads, although having said that I'm considering loading jQuery UI asynchronously since it's not often used and it's big.", "group_id": 160, "id": 1068147}]