Please help!!!
I was tinkering with my website putting some JavaScript in and then taking a look at it in a browser. Then I take it out. Now my site loads extremely SLOW. Can someone take a look at the code and tell me if they see anything that might be causing this?
Thanks in advance.
Webmaster Resources .::. Webmaster Forums .::. Fuel Saver
Suzanne posted this at 17:21 — 14th May 2003.
She has: 5,507 posts
Joined: Feb 2000
... The code is massively bloated and redundant. I can barely figure it out. You may want to clean up that code (a lot) and then ask. It's asking quite a lot for someone to dig through that by hand.
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
Don't use FP, eh? It's just not up to the task. Look at validating your code and go through it with a text editor. You'll shrink that code up easily.
With a site that is most likely going to be very graphics heavy, the slimmer the code, the better.
ronhollin posted this at 17:24 — 14th May 2003.
They have: 121 posts
Joined: Apr 2003
Yes i agree, but at this point that what you suggested isn't high on my priority list. Right now I just need to figure out why the heck the footer is loading so slowly. Everything was working fine before I started inserting JS into it playing around with the site today. I do need to "clean up" the code and I will at some point in the near future.
Webmaster Resources .::. Webmaster Forums .::. Fuel Saver
Suzanne posted this at 17:29 — 14th May 2003.
She has: 5,507 posts
Joined: Feb 2000
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sunglassreplicas.com%2F&charset=%28detect+automatically%29&doctype=XHTML+1.0+Strict
It's hanging on your urls not being encoded, & instead of &.
You are specifying that the code is XHTML, but you have a number of tags open (img and meta specifically).
You have <script ..> and </script> <-- those tags don't match so it's slowing down because it thinks a script is open still.
VALIDATE, VALIDATE, VALIDATE. It will save you a world of trouble.
Suzanne posted this at 17:31 — 14th May 2003.
She has: 5,507 posts
Joined: Feb 2000
Just a note that if you're not willing to do it, why would you expect that someone else is willing to slog through it on your behalf when the problem is the coding in the first place?
Suzanne posted this at 19:28 — 14th May 2003.
She has: 5,507 posts
Joined: Feb 2000
Through further examination and discussion, while the code does need revamping, the issue appears to be the counter code and its host site, which is down.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.