One of the primary reasons for switching to a static site generator was improved response time. Any site that relies upon dynamically created pages will be slower than one using static pages. The question is, “how much slower?”
One of the tools is Siege, a “HTTP benchmarking tool.” From the examples given in the article I realized I could quickly and easily compare two of my blogs to see the difference between static pages and dynamic pages.
This site, zanshin.net is now statically served. My cello blog, Solfège, is based on WordPress and is therefore dynamically served. Both sites are hosted on the same hardware at Bluehost
With Siege installed I first ran a test against the static site. The test simulates twenty (20) concurrent connections for thirty (30 seconds). Here are the results:
612 hits in 29.76 seconds, 100% of which were available.
Now here are the results against the dynamically served site:
Only 98 hits in 29.09 seconds, and only 37.40% availability. For those 98 successful hits there were 164 failed hits. It is worth noting that the number of bytes returned for the static site is 50,339 per transaction, whereas for the dynamic site is it only 30,498 – when the access was successful.
Having only just discovered this tool I cannot vouch for its accuracy or validity. But, seeing the results side-by-side like this makes a compelling case for static pages over dynamic pages, particularly if you have a high volume of visitors to your site.