View Full Version : Slow Responce

09-22-2005, 09:30 PM
I was wondering if anyone could help me out with responce issues i am having. I added a counter on the footer of my forum but I have to take it off because it was slowing the site down alot. Since then the portal and forum index have been slow responding. I've uploaded a new copy of the footer and everything. All of the pages but portal and forum index are at the speed they should be

09-23-2005, 09:12 AM
ave you got a link for us? There's no telling what is going on without having a peek at the nuts 'n bolts first.

09-23-2005, 12:57 PM
nice to know you're human after all Ronald!


09-23-2005, 01:54 PM


09-23-2005, 02:04 PM
do you have code for the counter we could look at?

09-23-2005, 02:25 PM
The counter is not in there anymore. I've uploaded a whole new footer file since then.

09-23-2005, 04:08 PM
nice to know you're human after all Ronald! Eh? Did I miss something (besides the "H" on "Have")?

09-23-2005, 04:16 PM
Anyway: I've checked a couple of random pages, and they all seem pretty slow to me; might have something to do with the endless hordes of layout tables. Your markup could do with some hours on a CSS stairmaster; I'd also advice to place all scripts in external files and link to them, especially the ones that appear on every page. That way, at least you can benefit from the scripts being cached.

09-23-2005, 04:43 PM
ok, no idea how to do that.. Oh well!

09-23-2005, 05:00 PM
Javascript functions can be accumulated in a sort of function library by placing the code in a separate text file and removing them out of the page source.
You can refer to this text file with the following in the head of your page:

<script type="text/javascript" src="whereever/your/file/is/script.js"></script>

You can name the file anything you like, but the extension .js is sort of popular and does indicate that it's a javascript file.