i have a page coded in html and it takes 3-4 sex to load my page on webserver in IE,but i need to make it work fast.

can anybody help in that,HTML code is

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<base href=http://www.denimology.co.uk>

<META name="blogburst-verify" content="B8Hms4M6YGtQARXj2INToON"/>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="verify-v1" content="tXbRpMqXqjRYMKJ0/FqXZ6/0o3JtF2kc3gYYlw6dHGA="&nbsp;/>
<meta name="description" content="News and photos of all the latest denim trends, plus competitions, advice, interviews with top denim designers and celebrity denim style tips" />
<meta name="keywords" content="denim, jeans, fashion, style, clothes, clothing, shopping" />
<meta name="author" content="Andy Knight" />
<link rel="stylesheet" type="text/css" href="andreas02.css" media="screen" title="andreas02 (screen)" />
<link rel="stylesheet" type="text/css" href="print.css" media="print" />
<title>Denimology... for those addicted to premium & vintage denim jeans</title>

<style type="text/css">

position: absolute;
background-color: white;
border:1px solid black;
font: normal 12px Verdana;
line-height: 18px;
z-index: 100;
visibility: hidden;

#popitmenu a{
text-decoration: none;
padding-left: 6px;
color: black;
display: block;

#popitmenu a:hover{ /*hover background color*/
background-color: #CCFF9D;


<script type="text/javascript">

* Pop-it menu- ? Dynamic Drive ([url]www.dynamicdrive.com[/url])
* This notice MUST stay intact for legal use
* Visit [url]http://www.dynamicdrive.com/[/url] for full source code

var defaultMenuWidth="250px" //set default menu width.

var linkset=new Array()

linkset[0]='<a href="http://www.denimology.co.uk/directory/7_For_All_Mankind_Men.php">Mens 7 For All Mankind Jeans</a>'
linkset[0]+='<a href="http://www.denimology.co.uk/directory/7_For_All_Mankind.php">Womens 7 For All Mankind Jeans</a>'

linkset[1]='<a href="http://www.denimology.co.uk/directory/Citizens_Of_Humanity_Men.php">Mens Citizens Of Humanity Jeans</a>'
linkset[1]+='<a href="http://www.denimology.co.uk/directory/Citizens_Of_Humanity.php">Womens Citizens Of Humanity Jeans</a>'

linkset[2]='<a href="http://www.denimology.co.uk/directory/J_Brand_Men.php">Mens J Brand Jeans</a>'
linkset[2]+='<a href="http://www.denimology.co.uk/directory/J_Brand.php">Womens J Brand Jeans</a>'

linkset[3]='<a href="http://www.denimology.co.uk/directory/Paige_Denim_Men.php">Mens Paige Jeans</a>'
linkset[3]+='<a href="http://www.denimology.co.uk/directory/Paige_Denim.php">Womens Paige Jeans</a>'

linkset[4]='<a href="http://www.denimology.co.uk/directory/Cheap_Monday_Men.php">Mens Cheap Monday Jeans</a>'
linkset[4]+='<a href="http://www.denimology.co.uk/directory/Cheap_Monday.php">Womens Cheap Monday Jeans</a>'

linkset[5]='<a href="http://www.denimology.co.uk/directory/Acne_Jeans_Men.php">Mens Acne Jeans</a>'
linkset[5]+='<a href="http://www.denimology.co.uk/directory/Acne_Jeans.php">Womens Acne Jeans</a>'

linkset[5]='<a href="http://www.denimology.co.uk/directory/Acne_Jeans_Men.php">Mens Acne Jeans</a>'
linkset[5]+='<a href="http://www.denimology.co.uk/directory/Acne_Jeans.php">Womens Acne Jeans</a>'

linkset[6]='<a href="http://www.denimology.co.uk/directory/AG_Jeans_Men.php">Mens AG Jeans</a>'
linkset[6]+='<a href="http://www.denimology.co.uk/directory/AG_Jeans.php">Womens AG Jeans</a>'

linkset[7]='<a href="http://www.denimology.co.uk/directory/Antik_Denim_Men.php">Mens Antik Jeans</a>'
linkset[7]+='<a href="http://www.denimology.co.uk/directory/Antik_Denim.php">Womens Antik Jeans</a>'

linkset[8]='<a href="http://www.denimology.co.uk/directory/APC_Men.php">Mens APC Jeans</a>'
linkset[8]+='<a href="http://www.denimology.co.uk/directory/APC.php">Womens APC Jeans</a>'

linkset[9]='<a href="http://www.denimology.co.uk/directory/Bread_Jeans_Men.php">Mens Bread Jeans</a>'
linkset[9]+='<a href="http://www.denimology.co.uk/directory/Bread_Jeans.php">Womens Bread Jeans</a>'

linkset[10]='<a href="http://www.denimology.co.uk/directory/Chip&Pepper_Men.php">Mens Chip & Pepper Jeans</a>'
linkset[10]+='<a href="http://www.denimology.co.uk/directory/Chip&Pepper.php">Womens Chip & Pepper Jeans</a>'

linkset[11]='<a href="http://www.denimology.co.uk/directory/Corpus_Jeans_Men.php">Mens Corpus Jeans</a>'
linkset[11]+='<a href="http://www.denimology.co.uk/directory/Corpus_Jeans.php">Womens Corpus Jeans</a>'

linkset[12]='<a href="http://www.denimology.co.uk/directory/Diesel_Jeans_Men.php">Mens Diesel Jeans</a>'
linkset[12]+='<a href="http://www.denimology.co.uk/directory/Diesel_Jeans.php">Womens Diesel Jeans</a>'

linkset[13]='<a href="http://www.denimology.co.uk/directory/Earnest_Sewn_Men.php">Mens Earnest Sewn Jeans</a>'
linkset[13]+='<a href="http://www.denimology.co.uk/directory/Earnest_Sewn.php">Womens Earnest Sewn Jeans</a>'

linkset[14]='<a href="http://www.denimology.co.uk/directory/Evisu_Men.php">Mens Evisu Jeans</a>'
linkset[14]+='<a href="http://www.denimology.co.uk/directory/Evisu.php">Womens Evisu Jeans</a>'

linkset[15]='<a href="http://www.denimology.co.uk/directory/Genetic_Denim_Men.php">Mens Genetic Denim Jeans</a>'
linkset[15]+='<a href="http://www.denimology.co.uk/directory/Genetic_Denim.php">Womens Genetic Denim Jeans</a>'

linkset[16]='<a href="http://www.denimology.co.uk/directory/Good_Society_Jeans_Men.php">Mens Good Society Jeans</a>'
linkset[16]+='<a href="http://www.denimology.co.uk/directory/Good_Society_Jeans.php">Womens Good Society Jeans</a>'

linkset[17]='<a href="http://www.denimology.co.uk/directory/Habitual_Jeans_Men.php">Mens Habitual Jeans</a>'
linkset[17]+='<a href="http://www.denimology.co.uk/directory/Habitual_Jeans.php">Womens Habitual Jeans</a>'

linkset[18]='<a href="http://www.denimology.co.uk/directory/Hudson_Jeans_Men.php">Mens Hudson Jeans</a>'
linkset[18]+='<a href="http://www.denimology.co.uk/directory/Hudson_Jeans.php">Womens Hudson Jeans</a>'

linkset[19]='<a href="http://www.denimology.co.uk/directory/James_Cured_By_Sean_Jeans_Men.php">Mens James Jeans</a>'
linkset[19]+='<a href="http://www.denimology.co.uk/directory/James_Cured_By_Sean_Jeans.php">Womens James Jeans</a>'

linkset[20]='<a href="http://www.denimology.co.uk/directory/Joes_Jeans_Men.php">Mens Joes Jeans</a>'
linkset[20]+='<a href="http://www.denimology.co.uk/directory/Joes_Jeans.php">Womens Joes Jeans</a>'

linkset[21]='<a href="http://www.denimology.co.uk/directory/Kasil_Jeans_Men.php">Mens Kasil Jeans</a>'
linkset[21]+='<a href="http://www.denimology.co.uk/directory/Kasil_Jeans.php">Womens Kasil Jeans</a>'

linkset[22]='<a href="http://www.denimology.co.uk/directory/Kicking_Mule_Men.php">Mens Kicking Mule Workshop Jeans</a>'
linkset[22]+='<a href="http://www.denimology.co.uk/directory/Kicking_Mule.php">Womens Kicking Mule Workshop Jeans</a>'

linkset[23]='<a href="http://www.denimology.co.uk/directory/Levis_Men.php">Mens Levis Jeans</a>'
linkset[23]+='<a href="http://www.denimology.co.uk/directory/Levis.php">Womens Levis Jeans</a>'

linkset[24]='<a href="http://www.denimology.co.uk/directory/Loomstate_Men.php">Mens Loomstate Jeans</a>'
linkset[24]+='<a href="http://www.denimology.co.uk/directory/Loomstate.php">Womens LoomstateJeans</a>'

linkset[25]='<a href="http://www.denimology.co.uk/directory/Nudie_Jeans_Men.php">Mens Nudie Jeans</a>'
linkset[25]+='<a href="http://www.denimology.co.uk/directory/Nudie_Jeans.php">Womens Nudie Jeans</a>'

linkset[26]='<a href="http://www.denimology.co.uk/directory/Paige_Denim_Men.php">Mens Paige Jeans</a>'
linkset[26]+='<a href="http://www.denimology.co.uk/directory/Paige_Denim.php">Womens Paige Jeans</a>'

linkset[27]='<a href="http://www.denimology.co.uk/directory/Peoples_Liberation_Jeans_Men.php">Mens Peoples Liberation Jeans</a>'
linkset[27]+='<a href="http://www.denimology.co.uk/directory/Peoples_Liberation_Jeans.php">Womens Peoples LiberationJeans</a>'

linkset[28]='<a href="http://www.denimology.co.uk/directory/Proportion_of_Blu_Jeans_Men.php">Mens Proportion Of Blu Jeans</a>'
linkset[28]+='<a href="http://www.denimology.co.uk/directory/Proportion_of_Blu_Jeans.php">Womens Proportion Of Blu Jeans</a>'

linkset[29]='<a href="http://www.denimology.co.uk/directory/Rag&Bone_Men.php">Mens Rag & Bone Jeans</a>'
linkset[29]+='<a href="http://www.denimology.co.uk/directory/Rag&Bone.php">Womens Rag & Bone Jeans</a>'

linkset[30]='<a href="http://www.denimology.co.uk/directory/Rock&Republic_Men.php">Mens Rock & Republic Jeans</a>'
linkset[30]+='<a href="http://www.denimology.co.uk/directory/Rock&Republic.php">Womens Rock & Republic Jeans</a>'

linkset[31]='<a href="http://www.denimology.co.uk/directory/Tag_Jeans_Men.php">Mens Tag Jeans</a>'
linkset[31]+='<a href="http://www.denimology.co.uk/directory/Tag_Jeans.php">Womens Tag Jeans</a>'

linkset[32]='<a href="http://www.denimology.co.uk/directory/Taverniti_Men.php">Mens Taverniti Jeans</a>'
linkset[32]+='<a href="http://www.denimology.co.uk/directory/Taverniti.php">Womens Taverniti Jeans</a>'

linkset[33]='<a href="http://www.denimology.co.uk/directory/True_Religion_Men.php">Mens True Religion Jeans</a>'
linkset[33]+='<a href="http://www.denimology.co.uk/directory/True_Religion.php">Womens True Religion Jeans</a>'

linkset[34]='<a href="http://www.denimology.co.uk/directory/Tsubi_Men.php">Mens Tsubi Jeans</a>'
linkset[34]+='<a href="http://www.denimology.co.uk/directory/Tsubi.php">Womens Tsubi Jeans</a>'

linkset[35]='<a href="http://www.denimology.co.uk/directory/William_Rast_Jeans_Men.php">Mens William Rast Jeans</a>'
linkset[35]+='<a href="http://www.denimology.co.uk/directory/William_Rast_Jeans.php">Womens William Rast Jeans</a>'

linkset[36]='<a href="http://www.denimology.co.uk/directory/House_Of_Cassette_Men.php">Mens Cassette Jeans</a>'
linkset[36]+='<a href="http://www.denimology.co.uk/directory/House_Of_Cassette.php">Womens Cassette Jeans</a>'

////No need to edit beyond here

var ie5=d
9 Years
Discussion Span
Last Post by ExplainThat

Wow! With a code listing like that it is scarcely surprising that you have got no replies. I haven't read all your code - and chances are no one else will - but here is, I hope, a partial solution

1. You appear to have a great deal of CSS and JavaScript embeded in your HTML. Put this in separate files and use links to those files instead. Then, assuming you are serving up from Apache, create the following .htaccess file in the directory from which you serve up the .css and .js files

ExpiresActive On
ExpiresByType text/css A8640000
ExpiresByType text/js A8640000

This ensures that when the document in question is revisited the browser does not end up reloading CSS and JS that has probably not changed. Here we are setting an expiry date 10 days (86400s x 10) from the time the file was accessed. You should only do this once you are reasonably certain that you have a final version for your CSS and JS. If after that point you are obliged to make changes simply change the name of the external CSS/JS file in question.

2. The above will help but not by much. You should also compress both your CSS and your JS. You will find two rather nice online compressors here

CSS Compressor
JavaScript Compressor

The Dojo JavaScript compressor is very good but your JS needs to follow certain conventions - e.g. the ; is obligatory - so you might need to do some work there.

3. You should also use the following Apache directive to reduce the size of the files you are sending out

<FilesMatch "\.(js|css|html)$">
SetOutputFilter DEFLATE

Where you put this depends on what kind of server account you are running. Ideally, this should go into a .conf file under root/etc/httpd/conf.d. .conf files are processed in alphabetic order. In the event that you have other .confs it is best to name this new file so it gets processed last and does not break anything else - e.g. zzzipup.conf.

If you are not in a position to create .conf files you should still be able to put this code in the .htaccess file in your root directory.

To my mind all of these remain provisional solutions. When things don't go according to plan it is better to go back to the drawing board and look at what you might be doing wrong. Here are some of the questions you could ask yourself

  • Do I really need to stick all my content inside a table?
  • Does the entire page content need to be displayed all at once?

Hope some of this helps


can anybody solve my problem...............

pls i need to do this quickly

  1. Wrong section of forum, this has nothing to do with PHP
  2. Moved to different section
  3. Avoid posting such long code, rather put it in text file and use as attachment to the post
  4. Your problem is in lengthy content. When I go to page I want to see short pages not something running across height of 3 and more monitors.
  5. Because of the previous point, you getting to much resources from other sites and create congestion by yourself

Solution: Split the page in number of pages and present it that way


It can take 3-4 seconds just to handshake with the server before it starts to download the file. What do you want, miracles?

You act as though you were the only person using the internet. In reality, you are being delayed by:

- Your connection to your ISP, if it is slow.

- Your ISP making your page request wait for other page requests from other users, submitted before yours.

- General congestion on the Internet.

- The server holding your web page having to serve all of the other page requests it got before your request came in.

- The server holding your web page giving priority to small files over large files, to serve the largest number of users faster.

- If the server adds advertising to your page, it must wait for the advertising server to deliver its part of the page. This can take minutes with some ad servers (notably doubleclick.net).

- General congestion on the internet in the other direction.

- Your ISP firewall having to check your file for malware before allowing it to come into the ISP.

- Your ISP making your returning page wait for other page requests from other users, that came in before yours.

- Your ISP making sure the entire page is complete before giving it to you.

- Your connection to your ISP, if it is slow in the other direction.

- Your own computer's firewall and virus checker scanning the incoming file for malware.


All very valid points - I haven't browsed to your page and checked the actual download time so it could well be that you are starting of with unreasonable expectations.

As others have pointed out - a webpage that goes on and on and on is not a good idea. Yours certainly does. There is also an issue with tables - browsers need to get the full content of a table before they start rendering it on screen since they are unable to make the requiste layout calculations on-the-fly as they get page code. You have stuck a great deal of your content inside table(s). Tables are completely passé. They have a use - for tabular data - but display layout is not it. Consider using a CSS driven layout, make good use of divs... .

All that - and make sure you start of with reasonable expectations and good content design in the first place.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.