[theme-reviewers] Minified CSS

Rahul Bansal rahul.bansal at rtcamp.com
Fri Feb 18 15:31:02 UTC 2011


*(Note - I guess you forgot to CC theme-reviewers mailing list!)*

@Syahir
I 100% agree with your reasoning.
Personally, I always appreciate anyone who is bothered about performance of
their code! :-)

But I have altogether a different counter-argument here.
A novice user with less traffic will have very less load on his server to
bother about minification.
The day he will bother about performance *(may be after first downtime) *he
will use Google first (in most cases)
Google will guide him to articles which will help him use
wp-super-cache/w3-total-cache like plugin!

They must use plugin because even if you minify your CSS, other plugins
extra CSS file will continue to degrade performance.

On sidenote, if server is configured properly, CSS/JS files can be forced to
have very far expiry header.

*Off-Off-topic* - Anyone who is hungry for performance should care to look
into Nginx! Moving from Apache to Nginx can alone boost
performance extremely.
*
*

--
Rahul Bansal | Founder & CEO | rtCamp Solutions Pvt. Ltd.
Skype: rahul286 | Twitter: @rahul286 | Web: http://rtcamp.com/



On Fri, Feb 18, 2011 at 8:46 PM, Syahir Hakim <khairulsyahir at gmail.com>wrote:

>  Well, because a huge percentage of theme users are not even aware of such
> thing as minification?
>
> I know it's easy enough for us developers, but not so for novice WordPress
> end users.
>
> --
> Regards,
> Syahir Hakim
>
> Contact:http://www.khairul-syahir.com
> +6014 753 1883
>
>
> On 18/2/2011 10:58 PM, Rahul Bansal wrote:
>
>  Yep, that's the kind of minified css I was referring to. One single
>> (looong) line for the entire CSS file, with no spaces at all except in the
>> shorthand values.
>
> w3 total cache and I guess few more plugin can produce such
> files automatically for you.
> also they will combine multiple CSS files (including CSS files from plugins
> like cformsII) into one single "minified" file.
>
>  Why to waste time & efforts into something which plugins are already
> doing nicely!
>
>  --
> Rahul Bansal | Founder & CEO | rtCamp Solutions Pvt. Ltd.
> Skype: rahul286 | Twitter: @rahul286 | Web: http://rtcamp.com/
>
>
>
> On Fri, Feb 18, 2011 at 8:25 PM, Syahir Hakim <khairulsyahir at gmail.com>wrote:
>
>> Yep, that's the kind of minified css I was referring to. One single
>> (looong) line for the entire CSS file, with no spaces at all except in the
>> shorthand values.
>>
>>
>> --
>> Regards,
>> Syahir Hakim
>>
>> Contact:
>> http://www.khairul-syahir.com
>> +6014 753 1883
>>
>>
>>   On 18/2/2011 10:48 PM, Austin Matzko wrote:
>>
>>> On Fri, Feb 18, 2011 at 8:38 AM, Chip Bennett<chip at chipbennett.net>
>>>  wrote:
>>>
>>>> We're talking about removing whitespace, not obfuscating (e.g.
>>>> base64-encoding) code. Removing whitespace is NOT "obfuscation". That
>>>> suggestion is ludicrous.
>>>> Let us be quite clear on what we're discussing here.
>>>>
>>> [snip]
>>>
>>>  And this is the "minified" version of that same CSS:
>>>>
>>>> #selector-1, #selector-2, #selector-3 { background: #fff; color: #000; }
>>>>
>>>> Both are equally valid under the GPL. There is no GPL-compliance issue
>>>> here,
>>>> period.
>>>>
>>> If Syahir's CSS includes only one rule like that, then you could have
>>> a point because it really could be the "preferred form of the work for
>>> making modifications to it." However, what we're really talking about
>>> is something that looks like this:
>>>
>>> <http://core.trac.wordpress.org/browser/trunk/wp-admin/css/wp-admin.css>
>>>
>>> Chip, are you honestly claiming you prefer to edit CSS in that form?
>>> _______________________________________________
>>> theme-reviewers mailing list
>>> theme-reviewers at lists.wordpress.org
>>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>>
>>>  _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110218/6b0dd0b8/attachment-0001.htm>


More information about the theme-reviewers mailing list