[wp-hackers] Outputting Clean Well Indented and Readable X/HTML
Alex Andrews
awgandrews at gmail.com
Mon Mar 14 17:25:47 UTC 2011
Interesting discussion.
But for now quickly: has anyone tried to run mod_pagespeed alongside
W3 Cache? I heard they didn't play nice with each other.
All the best,
Alex
On 14 March 2011 17:09, Otto <otto at ottodestruct.com> wrote:
> On Mon, Mar 14, 2011 at 11:59 AM, Nathan Rice <ncrice at gmail.com> wrote:
>> But, the downside to this is that all those linebreaks and tabs do add up to
>> a larger filesize when users access your site. You could potentially be
>> adding 10-20% download times by doing it your way.
>
> If your server is sending gzip'd or deflated data to begin with (as it
> should be), then this effect is minimized. That increase should be
> under 1% or so.
>
>> I'd run Google Page Speed
>> or YSlow to see what, if any, negative effects having tidy HTML actually
>> adds, and weight it against the positive effects.
>
> Agree with this, however note that some of these tools don't take
> server compression into account, and can provide a misleading
> viewpoint sometimes.
>
> Also, if you want to do this sort of thing, you should really just do
> it at the server level. Install Google's mod_pagespeed and watch it
> solve most of your problems automagically.
>
> -Otto
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list