{"id":2018,"date":"2011-03-23T09:34:09","date_gmt":"2011-03-23T13:34:09","guid":{"rendered":"http:\/\/www.fullstopinteractive.com\/blog\/?p=2018"},"modified":"2011-03-23T09:34:09","modified_gmt":"2011-03-23T13:34:09","slug":"juicer-command-line-tool-for-shipping-frontend-code","status":"publish","type":"post","link":"https:\/\/fullstopinteractive.com\/blog\/2011\/03\/juicer-command-line-tool-for-shipping-frontend-code\/","title":{"rendered":"Juicer: Command Line Tool for Shipping Frontend Code."},"content":{"rendered":"<p><a href=\"https:\/\/github.com\/cjohansen\/juicer\"><span class=\"first-letter\">J<\/span>uicer<\/a> is like <a href=\"https:\/\/github.com\/nzakas\/cssembed\/\">CSSEmbed<\/a> on, uh, steroids. Worth checking out for anything more than the smallest of projects.<\/p>\n<ul>\n<blockquote>\n<li>figure out which files depend on each other and merge them together, reducing the number of http requests per page view, thus improving performance<\/li>\n<li>use YUI Compressor or Google Closure Compiler to compress code, thus improving performance<\/li>\n<li>verify that your JavaScript is safe to minify\/compress by running JsLint on it<\/li>\n<li>cycle asset hosts in CSS files<\/li>\n<li>add &#8220;cache busters&#8221; to URLs in CSS files<\/li>\n<li>recalculate relative URLs in CSS files, as well as convert them to absolute (or convert absolute URLs to relative URLs)<\/li>\n<li>embed images into stylesheets using data-uris<\/li>\n<\/blockquote>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Juicer is like CSSEmbed on, uh, steroids. Worth checking out for anything more than the smallest of projects. figure out which files depend on each other and merge them together, reducing the number of http requests per page view, thus improving performance use YUI Compressor or Google Closure Compiler to compress code, thus improving performance [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[15],"tags":[83,43],"_links":{"self":[{"href":"https:\/\/fullstopinteractive.com\/blog\/wp-json\/wp\/v2\/posts\/2018"}],"collection":[{"href":"https:\/\/fullstopinteractive.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fullstopinteractive.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fullstopinteractive.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/fullstopinteractive.com\/blog\/wp-json\/wp\/v2\/comments?post=2018"}],"version-history":[{"count":3,"href":"https:\/\/fullstopinteractive.com\/blog\/wp-json\/wp\/v2\/posts\/2018\/revisions"}],"predecessor-version":[{"id":2021,"href":"https:\/\/fullstopinteractive.com\/blog\/wp-json\/wp\/v2\/posts\/2018\/revisions\/2021"}],"wp:attachment":[{"href":"https:\/\/fullstopinteractive.com\/blog\/wp-json\/wp\/v2\/media?parent=2018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fullstopinteractive.com\/blog\/wp-json\/wp\/v2\/categories?post=2018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fullstopinteractive.com\/blog\/wp-json\/wp\/v2\/tags?post=2018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}