Damn slow webpages
Wednesday, August 13th, 2008If you go to BiRC's homepage, and I suggest you don't right now, you will experience an extremely slow load time. If you are lucky, your browser will crash. If you are really lucky, your computer will crash.
We have this problem, you see. The CSS file is 31Mb and the Javascript file is 28Mb.
It seems that every time the page has a hit, a few lines are added to each of these files. Why this happens has been bugging us a little while.
We are using a CMS developed in-house. It's called Skeletonz and is developed by Amir Salihefendic who was employed as student programmer at BiRC a few years back, where he developed Skeletonz. Generally, it is working fine and we are very satisfied with it, but it is beta and since Amir left BiRC we haven't had much support on it.
Anyway, back to the mystery of the growing files...
We have suspected the blog plugin for a while. The lines added to the files concerns the blog, so that makes sense. However, the problem didn't go away when I disabled the blog, so I didn't think it was the blog anyway...
Now I think it is again. I think it was enough to install the blog plugin. I've found a bit of suspicious code I think is causing the problem. I do not have the access rights to change the code, but I'll get that and try my fix tomorrow or next week.
It is a bit embarrassing that an informatics group has been unable to have a homepage up and running without problems, but there you go. I just hope we've solved the problem now...