Hey, As we all know, code optimization in today's web is a must. On the other hand I was wondering if this compressed code will make any difference to the search engines that crawl the site. When I say compressed code I mean code that has been stripped off unnecessary spaces, line brakes, comments etc. On first thought I would conclude this as negative, however a serious answer to this would be appreciated. -WebB3
Google does not care if you compress your code. Go to the google homepage, they have compressed theirs so much that they don't even use closing tags.
Thanks for this. I don't know if I am being too careful but you specifically mentioned Google. Does the same apply to all search engines or just Google?
I haven't exactly studied every search engine but I seriously doubt they care. They don't see the pages in the same way you do, they are probably ignoring everything you want to remove anyway.