Shaving 3 Secs Off

Our home page is about 110K+ in size and is displaying all of our categories and the most recent 675 articles accepted into our site.

If you’ve been reading this blog, you know that our site is nearly 100% dynamically generated upon each request.

Yesterday, we changed the home page only to not being dynamically generated on the fly upon each request, but rather changed it to be statically generated and only updated 2 to 3 times a day with a cron job.

Why are we doing this? We have a feeling that increasing our speed of delivery is going to be a key ingredient to reaching our page view and unique daily visitor goals.

What do you think? Do you have any suggestions for us as to which pages within our site load too slow for you that we could improve on?

1 Comment »


1
G. Wayne Clayton writes:

Chris,
If you are using a UNIX server, try having mod_gzip -You can do a test with your server to check compatilibility.

However, in some occurances, mod_gzip isn’t being supported for the most current Apache versions. So in that case you’ll want to go with mod_deflate.

It’s a similar module that delivers compressed pages to the viewer, and it even uses gzip to do some of the compression. mod_deflate does realtime compression of pages, which decreases the size of pages and consequently the time it takes to download. According to tests mod_deflate is 60% faster than mod_gzip.

We used it and got the following results:
pre-mod_deflate: 54.61 KB
post-mod_deflate: 7.51 KB

Keep in mind that this doesn’t compress images.

Hope this helps.

Nice website!

Wayne

Comment provided March 15, 2005 at 2:10 PM

[Reply]

RSS feed for comments on this post.

Leave a comment

Please read our comment policy before commenting.