Speed up those archives
-
I’m running WP on an older machine – ok, I’ll be honest, it’s old enough that in computer terms it should be in retirement… It’s a P200 with 64 megs of ram.
Anyway, WP is pretty fast on it – faster than it really has any right to be, honestly. The only issue for me is server load. Each request jumps the cpu up to 20% or so (mostly mySQL, with just a hint of httpd) – pretty easy math shows that my traffic is fairly cpu-bound.
While it’s not a problem for my site that averages less than 100 visitors a day, when you aggregate that 100 visits with the other 4 sites I host, you can see where being that CPU bound might not be great.
My idea though is to be able to generate individual post archives into static HTML, maybe monthly archives as well. The database still contains the content, so the great features like searching, and complex queries will work fine, but simple stuff can then be fast, and not bother the database.
The whole world doesn’t have to be re-generated all the time, just those pieces that are affected by a particular post/comment/trackback/pingback.
I’m still just in the design phase for this massive undertaking, so I’m soliciting comments on things that I have overlooked, or suggestions on how to best do it.
Comments? Criticisms? Complaints?
- The topic ‘Speed up those archives’ is closed to new replies.