<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Common web myths: Optimizing CSS &#038; Javascript</title>
	<atom:link href="http://warpspire.com/tipsresources/web-production/common-web-myths-optimizing-css-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://warpspire.com/tipsresources/web-production/common-web-myths-optimizing-css-javascript/</link>
	<description>my god, it's full of stars</description>
	<pubDate>Mon, 13 Oct 2008 08:51:35 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Marcus Collinsworth</title>
		<link>http://warpspire.com/tipsresources/web-production/common-web-myths-optimizing-css-javascript/#comment-45681</link>
		<dc:creator>Marcus Collinsworth</dc:creator>
		<pubDate>Thu, 27 Sep 2007 18:44:30 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/journal/web-production/common-web-myths-optimizing-css-javascript/#comment-45681</guid>
		<description>&lt;p&gt;Why not take this a slight step further and cache the output compressed file?  :)&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Why not take this a slight step further and cache the output compressed file?  :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Papageorge</title>
		<link>http://warpspire.com/tipsresources/web-production/common-web-myths-optimizing-css-javascript/#comment-20639</link>
		<dc:creator>Mike Papageorge</dc:creator>
		<pubDate>Thu, 22 Mar 2007 09:33:22 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/journal/web-production/common-web-myths-optimizing-css-javascript/#comment-20639</guid>
		<description>&lt;p&gt;I think if you can implement something on the fly that strips whitespace and gzips, you're laughing. This can be easily done by we programmer types :-)&lt;/p&gt;

&lt;p&gt;Also, see &lt;a href="http://www.fiftyfoureleven.com/weblog/web-development/css/the-definitive-css-gzip-method" rel="nofollow"&gt;The Definitive Post on Gzipping your CSS&lt;/a&gt; for some more PHP style solutions.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I think if you can implement something on the fly that strips whitespace and gzips, you&#8217;re laughing. This can be easily done by we programmer types :-)</p>
<p>Also, see <a href="http://www.fiftyfoureleven.com/weblog/web-development/css/the-definitive-css-gzip-method" rel="nofollow">The Definitive Post on Gzipping your CSS</a> for some more PHP style solutions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mal</title>
		<link>http://warpspire.com/tipsresources/web-production/common-web-myths-optimizing-css-javascript/#comment-20438</link>
		<dc:creator>Mal</dc:creator>
		<pubDate>Mon, 19 Mar 2007 16:11:51 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/journal/web-production/common-web-myths-optimizing-css-javascript/#comment-20438</guid>
		<description>&lt;p&gt;The gzip'd compress CSS is 3kb, which is 25% smaller than the gzip'd but uncompressed version. It's also harder to steal, if you're worried about that.&lt;/p&gt;

&lt;p&gt;While it's important to keep your CSS readable for development and maintenance, this is only important within your editor. Your web server and browser doesn't care, and there's a number of ways to produce the optimized version automatically. You can have PHP pipe the file through cctidy, similar to Paul's gzip setup, you can use mod&lt;em&gt;ext&lt;/em&gt;filter on Apache to do the same, or you can make the compression part of your build process, if you use Ant or similar.&lt;/p&gt;

&lt;p&gt;And when you need to examine the CSS of page in your browser, for that off the cuff tweaking, you can use Firebug or the IE Developer toolbar to see the current style of an element.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The gzip&#8217;d compress CSS is 3kb, which is 25% smaller than the gzip&#8217;d but uncompressed version. It&#8217;s also harder to steal, if you&#8217;re worried about that.</p>
<p>While it&#8217;s important to keep your CSS readable for development and maintenance, this is only important within your editor. Your web server and browser doesn&#8217;t care, and there&#8217;s a number of ways to produce the optimized version automatically. You can have PHP pipe the file through cctidy, similar to Paul&#8217;s gzip setup, you can use mod<em>ext</em>filter on Apache to do the same, or you can make the compression part of your build process, if you use Ant or similar.</p>
<p>And when you need to examine the CSS of page in your browser, for that off the cuff tweaking, you can use Firebug or the IE Developer toolbar to see the current style of an element.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lukaszp</title>
		<link>http://warpspire.com/tipsresources/web-production/common-web-myths-optimizing-css-javascript/#comment-20423</link>
		<dc:creator>Lukaszp</dc:creator>
		<pubDate>Mon, 19 Mar 2007 11:12:56 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/journal/web-production/common-web-myths-optimizing-css-javascript/#comment-20423</guid>
		<description>&lt;p&gt;But you all forget about those who still use slow connections. For me, as an low level programmer, it's good to squeeze as much as possible especially when i see those websites where images and all those pretty addons take 60-70% of screen not talking about bandwidth.
Imagine what would happen if you optimized your css AND used transport compression? Remember that faster your HTML/CSS/JS gets to the browser faster it gets displayed and images can be downloaded later by browser so overall smaller your HTML etc. faster your page's initial display.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>But you all forget about those who still use slow connections. For me, as an low level programmer, it&#8217;s good to squeeze as much as possible especially when i see those websites where images and all those pretty addons take 60-70% of screen not talking about bandwidth.<br />
Imagine what would happen if you optimized your css AND used transport compression? Remember that faster your HTML/CSS/JS gets to the browser faster it gets displayed and images can be downloaded later by browser so overall smaller your HTML etc. faster your page&#8217;s initial display.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2007-03-18 &#171; kobak del.icio.us kÃ¶nyvjelzÅ‘i</title>
		<link>http://warpspire.com/tipsresources/web-production/common-web-myths-optimizing-css-javascript/#comment-20359</link>
		<dc:creator>links for 2007-03-18 &#171; kobak del.icio.us kÃ¶nyvjelzÅ‘i</dc:creator>
		<pubDate>Sun, 18 Mar 2007 23:19:09 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/journal/web-production/common-web-myths-optimizing-css-javascript/#comment-20359</guid>
		<description>&lt;p&gt;[...] Common web myths: Optimizing CSS &#38; Javascript - Warpspire (tags: css webdev wordpress HowTo optimization reference warspire) [...]&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>[...] Common web myths: Optimizing CSS &amp; Javascript - Warpspire (tags: css webdev wordpress HowTo optimization reference warspire) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Georges</title>
		<link>http://warpspire.com/tipsresources/web-production/common-web-myths-optimizing-css-javascript/#comment-20309</link>
		<dc:creator>Georges</dc:creator>
		<pubDate>Sun, 18 Mar 2007 12:15:45 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/journal/web-production/common-web-myths-optimizing-css-javascript/#comment-20309</guid>
		<description>&lt;p&gt;Good point! Using mod_deflated for some time now and I even start having the feeling that most of my projects just load faster with compressions on the server-side!&lt;/p&gt;

&lt;p&gt;Just to point it out: since Apache2, mod_gzip does not exist anymore. It's now mod_deflated. Here is a good article on how to set it up in less than 5 minutes: http://www.debian-administration.org/articles/137&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Good point! Using mod_deflated for some time now and I even start having the feeling that most of my projects just load faster with compressions on the server-side!</p>
<p>Just to point it out: since Apache2, mod_gzip does not exist anymore. It&#8217;s now mod_deflated. Here is a good article on how to set it up in less than 5 minutes: <a href="http://www.debian-administration.org/articles/137" rel="nofollow">http://www.debian-administration.org/articles/137</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthijs</title>
		<link>http://warpspire.com/tipsresources/web-production/common-web-myths-optimizing-css-javascript/#comment-20307</link>
		<dc:creator>Matthijs</dc:creator>
		<pubDate>Sun, 18 Mar 2007 12:10:40 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/journal/web-production/common-web-myths-optimizing-css-javascript/#comment-20307</guid>
		<description>&lt;p&gt;@Matt: indeed, horizontal scrolling is not pleasant. I avoid that as well. If an element has that many declarations, I use another line. And I am aware of using comment anchors and how they can be used to collapse/search. But for me, one move of my scroll wheel to get me were I want to go is faster then typing in a search term. &lt;/p&gt;

&lt;p&gt;But, I understand this is all personal preference. I also think it makes a big difference whether you work alone or in a team, on smaller or bigger sites, etc.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Matt: indeed, horizontal scrolling is not pleasant. I avoid that as well. If an element has that many declarations, I use another line. And I am aware of using comment anchors and how they can be used to collapse/search. But for me, one move of my scroll wheel to get me were I want to go is faster then typing in a search term. </p>
<p>But, I understand this is all personal preference. I also think it makes a big difference whether you work alone or in a team, on smaller or bigger sites, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Wilcox</title>
		<link>http://warpspire.com/tipsresources/web-production/common-web-myths-optimizing-css-javascript/#comment-20305</link>
		<dc:creator>Matt Wilcox</dc:creator>
		<pubDate>Sun, 18 Mar 2007 11:49:54 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/journal/web-production/common-web-myths-optimizing-css-javascript/#comment-20305</guid>
		<description>&lt;p&gt;@ Mattijs&lt;/p&gt;

&lt;p&gt;I used to use the one line technique, but find that horizontal scrolling is much worse than vertical scrolling for trying to find things. Good use of 'comment anchors' allow easy searching through your editor of choice too. If you're interested you could take a look at the organisation techniques I've come to use after a few years of constant CSS development, and see if any tickle your fancy: http://mattwilcox.net/archive/entry/id/642/&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@ Mattijs</p>
<p>I used to use the one line technique, but find that horizontal scrolling is much worse than vertical scrolling for trying to find things. Good use of &#8216;comment anchors&#8217; allow easy searching through your editor of choice too. If you&#8217;re interested you could take a look at the organisation techniques I&#8217;ve come to use after a few years of constant CSS development, and see if any tickle your fancy: <a href="http://mattwilcox.net/archive/entry/id/642/" rel="nofollow">http://mattwilcox.net/archive/entry/id/642/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Wilcox</title>
		<link>http://warpspire.com/tipsresources/web-production/common-web-myths-optimizing-css-javascript/#comment-20304</link>
		<dc:creator>Matt Wilcox</dc:creator>
		<pubDate>Sun, 18 Mar 2007 11:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/journal/web-production/common-web-myths-optimizing-css-javascript/#comment-20304</guid>
		<description>&lt;p&gt;I have to voice my 'here here' for your conclusion. I've always felt that readability is far more important than shaving off a few Kb in a file that's downloaded once, cashed immediately, and can be greatly compressed server side anyway. I've never been sold on 'code optimisation' utilities. They optimise very little but mean that the developer will take twice as long to figure stuff out if they ever need to revisit that css/javascript.&lt;/p&gt;

&lt;p&gt;NB: well written CSS using selector grouping and the cascade is a different form of optimisation, and one that I do support the use of.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have to voice my &#8216;here here&#8217; for your conclusion. I&#8217;ve always felt that readability is far more important than shaving off a few Kb in a file that&#8217;s downloaded once, cashed immediately, and can be greatly compressed server side anyway. I&#8217;ve never been sold on &#8216;code optimisation&#8217; utilities. They optimise very little but mean that the developer will take twice as long to figure stuff out if they ever need to revisit that css/javascript.</p>
<p>NB: well written CSS using selector grouping and the cascade is a different form of optimisation, and one that I do support the use of.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthijs</title>
		<link>http://warpspire.com/tipsresources/web-production/common-web-myths-optimizing-css-javascript/#comment-20303</link>
		<dc:creator>Matthijs</dc:creator>
		<pubDate>Sun, 18 Mar 2007 11:23:39 +0000</pubDate>
		<guid isPermaLink="false">http://warpspire.com/journal/web-production/common-web-myths-optimizing-css-javascript/#comment-20303</guid>
		<description>&lt;p&gt;The funny thing is, I have recently switched from using whitespace and coments in css to just writing declarations on single lines. Not for performance sake. It just makes my stylesheets a lot easier to read/work with. For me. The reason is that scrolling up and down and finding the section you're looking for takes a lot more time then reading a single line with a couple of declarations (margin,padding,color, etc). So my css now looks like:
h2 {font-size:2em;margin:1em 0; etc}
h3 {font-size:1.5em;margin:1em 0; etc}
Certainly if you use a common order, it's no problem at all to find specific style declarations.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>The funny thing is, I have recently switched from using whitespace and coments in css to just writing declarations on single lines. Not for performance sake. It just makes my stylesheets a lot easier to read/work with. For me. The reason is that scrolling up and down and finding the section you&#8217;re looking for takes a lot more time then reading a single line with a couple of declarations (margin,padding,color, etc). So my css now looks like:<br />
h2 {font-size:2em;margin:1em 0; etc}<br />
h3 {font-size:1.5em;margin:1em 0; etc}<br />
Certainly if you use a common order, it&#8217;s no problem at all to find specific style declarations.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.292 seconds -->
