Welcome to WebmasterWorld Guest from 54.167.157.247

Forum Moderators: phranque

Message Too Old, No Replies

PageSpeed messes up XHTML code

   
3:33 pm on Mar 16, 2010 (gmt 0)

10+ Year Member



The PageSpeed tool included with Firebug is quite helpful. I found one serious flaw however: the MINIFY HTML suggestion. They give this suggestion for most pages also providing the so called improved version of a page (white spaces removed and so on). I used the "improved" code for 3 of my pages. Then I had to work 2 hours to get my pages back. Here's why: this tool doesn't seem to differentiate between html versions, thus removing all closing tags that are mandatory in XHTML (with proper DOCTYPE in place), all quote marks (<a href="etc"> becomes <a href=etc>), and other changes resulting in over 1000 validation errors for each of these 3 pages.
12:20 am on Mar 17, 2010 (gmt 0)

WebmasterWorld Senior Member lammert is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



Thanks for the heads up!

I haven't played with PageSpeed for a while, but isn't there a way to define which optimizations are allowed when squeezing the code?
7:49 am on Mar 17, 2010 (gmt 0)

10+ Year Member



No options, they just give you the altered version. In fact it seems that they are aware of this issue: [code.google.com...]
 

Featured Threads

Hot Threads This Week

Hot Threads This Month