Posts Tagged ‘litespeed’

Starting this project…now.

// June 28th, 2009 // Comments // Development

Today I ordered a new server and a new domain name that will be setup during the day. This is the starting point for this project which I hope will be ready in a few months.

The first step was to get a new server and a new domain name so I can start working on the design without messing with the websites of Mortfiles.se and Mortfiles.com. Once the server is setup it will need a finetuning with suphp, mod_security, suhosin plus litespeed and a security sweep before I move on to setting up the actual website. I will start with a wordpress installation and go from there until I have everything ready for setting up the WHMCS section and build the headermenu.

At that point I will move the WHMCS license from Mortfiles.se and add the clients from Mortfiles.com and then add both domains to the new account so that all domains point towards the same account. The whole process will then be complete…I hope :)

Speed and pageloads

// June 27th, 2009 // Comments // Development

Loading times are always important so speed and pageloads is high on my list of things to do, not just for this project, but also as part of my further development as a webdesigner.

For this project however I will try some, for me,  new things and see how they effect the website’s performance.  The first thing to do will be to consider http requests and see how to make them as few as possible. This I plan to do by taking the three categories CSS, Javascript and Images and rework them slightly so that I hopefully will get very few http request.

For javascript, which I will have a few of, I want to bundle the scripts into one, or possibly two http request. This is done by adding the different calls into one combined call that hold all the javascripts required.  All javascripts will of course be minified to make them as small as possible and I will carefully look over the plugins to make sure redundant javascript is not added by them. I am considering adding the jQuery library from Google repository, but I’ll have to play with that a bit to see how that work out and what the benefits will be when combined with my other time saving efforts.

For CSS I will use a similar setup, taking advantage of the code written by Rakaz that allow the same combination of files  as for javascript files, reducing the CSS files into one single http request. I will use the minified approach here as well and we’ll see how much this will speed things up.

For images I will use sprites, which is essentially one big picture with many images that is used instead of many smaller ones. This will seriously reduce the number of http requests and I will use this throughout the website. The sprite itself will of course be minified as much as possible without reducing the experience. All images are of course plced in the CSS and not in the actual HTML code.

This is all good and it will reduce the number of requests alot, but I can do more.  Javscripts that are not essential should be placed at the end of the document which means that altough it att a second javascript http request it should increase speed for the visitors as it is added after the page loads. The actual pageload will be a little higher due to the second http request, but it will feel faster.

(more…)