Solved

HTML Mystery.  Super basic, but makes no sense.  Can anyone figure it out?

Posted on 2013-10-30
6
251 Views
Last Modified: 2013-12-02
Here are 3 super basic HTML test pages:

http://bit.ly/19TGMRp
http://bit.ly/1apuTFx
http://bit.ly/HfS9ZZ

If you look at the code behind....the third one is simply the first and second combined.
Now lets test them in Google's Page Speed Analyzer:
1.  http://bit.ly/1cru2pk   SCORE = 100/100  
2.  http://bit.ly/18EeLJA   SCORE = 100/100
3.  http://bit.ly/16NQ8ur  SCORE = 92/100  ????

This is what puzzles me.   The third page is simply adding the exact same lines of page 1 and 2, which both got 100/100.  I can find no logical reason why the third page would score less than 100.   Can someone please explain why Google would drop the page rating on the third page, when it gives the first two perfect scores?   I'm completely lost on this one.
0
Comment
Question by:arthurh88
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
6 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 500 total points
ID: 39613216
Start by putting the script before the closing body tag, as it is now it is not valid html which will make things slower.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 39613323
I don't think there is enough content there to matter.  I don't think your simple tests are telling you anything that is of use because everything you add to create a real page will affect those scores.  And of course, getting a 100/100 score from Google doesn't mean your page is worth visiting.
0
 

Author Comment

by:arthurh88
ID: 39613325
Hi Gary.  If that is the case, then why does Google give 100/100 on the page that has the script in the head tag? Why would Google suddenly penalize the script placement on one page when on the other page it doesn't?   I am trying to find the logic in what is going on.
0
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 

Author Comment

by:arthurh88
ID: 39613329
Dave, I know there isn't much there.   I just want to know what Google's logic is regarding its downgrade of the score.
0
 

Author Comment

by:arthurh88
ID: 39613332
Oh I see Gary, I may understand what you are saying.  I'll go give your idea a try.
0
 
LVL 58

Expert Comment

by:Gary
ID: 39614273
I was talking about example 3 where you have it after the closing html tag.
0

Featured Post

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
asp.net, radiobuttonlist, c# 3 69
Add Rows on a Table 8 51
Can't find an open element in HTML 5 53
Making an unordered list with background-image responsive 8 23
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will learn how to count occurrences of each item in an array.
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question