View Single Post
Old 11-17-2006, 02:59 PM  
schneemann
Confirmed User
 
Join Date: Oct 2006
Posts: 749
I Am A Mad Scientist!

Everyone on my IM buddy lists is away or busy so you guys get the "I AM A MAD SCIENTIST" message I'd normally send to all my friends when I figure out something cool.

I just created the programming to do content caching on my CMS (http://www.grayscalecms.com)

Why is this cool?
You see, the "porn blog" module I use for Deranged World queries the database almost 3-dozen times to generate one page.

Not a big deal, really, considering my traffic is low at the moment and MySQL 5 is a monster which can more than handle it, even with 10x as much traffic.

Nevertheless, it really doesn't make a ton of sense to constantly query the database for a page that doesn't change but once a day. So now I'm caching the output.

Response times are waaaaaay quicker. I wish I could test this in a more high traffic site.
__________________
Deranged World
schneemann is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote