homepage Welcome to WebmasterWorld Guest from 204.236.254.124
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
PageSpeed messes up XHTML code
vivalasvegas




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

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.

 

lammert




msg:4099156
 12:20 am on Mar 17, 2010 (gmt 0)

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?

vivalasvegas




msg:4099356
 7:49 am on Mar 17, 2010 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved