Hello,
I see a lot of room for improvement in Cemetech's server load and client loading speed. It loads relatively fast, but you could make it much faster with minimal effort. Here's a couple things you could try:
* You can compress your HTML output with this
* Your CSS has lots of comments in it, and it's separated over many lines. This CSS:
Code:
Could become this CSS with identical functionality and a much smaller size:
Code:
* You can also compress images, which is where you'll see the largest speed gain. I ran the home page through an image compressor and got the combined size of all images down to 75% of their original sizes. Puny PNG will be able to significantly reduce the size of PNG, GIF, and JPG files.
* Reduce the size of your javascript. toggle_display.js could be a lot smaller, for instance. It's first function could go from this:
Code:
to this:
Code:
You can use Javascript Compressor for this.
I see a lot of room for improvement in Cemetech's server load and client loading speed. It loads relatively fast, but you could make it much faster with minimal effort. Here's a couple things you could try:
* You can compress your HTML output with this
* Your CSS has lots of comments in it, and it's separated over many lines. This CSS:
Code:
* {
/*margin:0;*/
/*padding:0;*/
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
text-align: left;
}
Could become this CSS with identical functionality and a much smaller size:
Code:
*{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;text-align:left;}
* You can also compress images, which is where you'll see the largest speed gain. I ran the home page through an image compressor and got the combined size of all images down to 75% of their original sizes. Puny PNG will be able to significantly reduce the size of PNG, GIF, and JPG files.
* Reduce the size of your javascript. toggle_display.js could be a lot smaller, for instance. It's first function could go from this:
Code:
function hdr_ref(object)
{
if (document.getElementById)
{
return document.getElementById(object);
}
else if (document.all)
{
return eval('document.all.' + object);
}
else
{
return false;
}
}
to this:
Code:
function hdr_ref(object){if(document.getElementById){return document.getElementById(object)}else if(document.all){return eval('document.all.'+object)}else{return false}}
You can use Javascript Compressor for this.