{"id":75,"date":"2011-04-01T03:05:52","date_gmt":"2011-04-01T03:05:52","guid":{"rendered":"https:\/\/mross.fremen.pl\/index.php\/2011\/04\/01\/cssjs-compression\/"},"modified":"2011-04-01T03:05:52","modified_gmt":"2011-04-01T03:05:52","slug":"cssjs-compression","status":"publish","type":"post","link":"https:\/\/mross.fremen.pl\/index.php\/2011\/04\/01\/cssjs-compression\/","title":{"rendered":"CSS \/ JS Compression"},"content":{"rendered":"<p>At JoomlaShine.com, we put great efforts in optimizing our templates performance by multiple techniques like image sprites application, clean html code output and now one new step &ndash; <strong>CSS \/ JS Compression<\/strong>.<\/p>\n<p>What it does is to combine all CSS \/ JS files into a single file and deliver it in GZIP compressed state to browser. This feature significantly reduce http request number to server as well as overall loading size, which results in 35% performance boost.<\/p>\n<p class=\"content-center\"><img loading=\"lazy\" decoding=\"async\" src=\"images\/content\/template-details\/advanced-stuff\/cssjs-compression\/system-compression-filesbefore.png\" border=\"0\" alt=\"Before enabling CSS \/ JS compression\" width=\"600\" height=\"380\" \/><\/p>\n<p class=\"content-center\"><em>Before enabling CSS \/ JS compression<\/em><\/p>\n<p class=\"content-center\"><img loading=\"lazy\" decoding=\"async\" src=\"images\/content\/template-details\/advanced-stuff\/cssjs-compression\/system-compression-filesafter.png\" border=\"0\" alt=\"After enabling CSS \/ JS compression\" width=\"600\" height=\"200\" \/><\/p>\n<p class=\"content-center\"><em>After enabling CSS \/ JS compression<\/em><\/p>\n<p>CSS \/ JS Compression feature is enabled on this demo website. You can check the source code to see how it works.<\/p>\n<hr class=\"line-dots\" \/>\n<h3>Custom CSS File(s)<\/h3>\n<p>This feature allows you to load multiple custom CSS files among with template default files. This feature is very useful, when you have special dedicated CSS file for content styling.<\/p>\n<p class=\"content-center\"><img loading=\"lazy\" decoding=\"async\" src=\"images\/content\/template-details\/advanced-stuff\/cssjs-compression\/system-customcss.png\" border=\"0\" alt=\"Custom CSS files are loaded among with other template CSS files\" width=\"600\" height=\"320\" \/><\/p>\n<p class=\"content-center\"><em>Custom CSS files are loaded among with other template CSS files<\/em><\/p>\n<p>Just put custom CSS files to template&#8217;s CSS folder and define them in template parameter <strong>Custom CSS File(s)<\/strong> each file name at a line. If you enable <strong>CSS \/ JS Compression <\/strong>feature, all custom CSS files will be compressed as well.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At JoomlaShine.com, we put great efforts in optimizing our templates performance by multiple techniques like image sprites application, clean html code output and now one new step &ndash; CSS \/ JS Compression. What it does is to combine all CSS \/ JS files into a single file and deliver it in GZIP compressed state to &#8230; <a title=\"CSS \/ JS Compression\" class=\"read-more\" href=\"https:\/\/mross.fremen.pl\/index.php\/2011\/04\/01\/cssjs-compression\/\" aria-label=\"Read more about CSS \/ JS Compression\">Dowiedz si\u0119 wi\u0119cej<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[],"class_list":["post-75","post","type-post","status-publish","format-standard","hentry","category-advanced-stuff"],"_links":{"self":[{"href":"https:\/\/mross.fremen.pl\/index.php\/wp-json\/wp\/v2\/posts\/75","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mross.fremen.pl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mross.fremen.pl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mross.fremen.pl\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mross.fremen.pl\/index.php\/wp-json\/wp\/v2\/comments?post=75"}],"version-history":[{"count":0,"href":"https:\/\/mross.fremen.pl\/index.php\/wp-json\/wp\/v2\/posts\/75\/revisions"}],"wp:attachment":[{"href":"https:\/\/mross.fremen.pl\/index.php\/wp-json\/wp\/v2\/media?parent=75"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mross.fremen.pl\/index.php\/wp-json\/wp\/v2\/categories?post=75"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mross.fremen.pl\/index.php\/wp-json\/wp\/v2\/tags?post=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}