The Wordie Blog

Friday, May 4, 2007

Speed bump

I just added a bespoke caching mechanism to the front page, which makes it a good deal faster, and lets us gimp along on low-end hosting a bit longer. For those who care, it uses Ruby's marshalling capabilities to store objects in the database, so the page is rendered each time, but the mongo db queries that were gumming up the page aren't.

One small downside is, the cache is refreshed every two minutes, so if you add a word or a comment, you might have to pause a moment before you see it show up on the front page.

Labels: ,


Comments: Post a Comment

Subscribe to Post Comments [Atom]





<< Home
Subscribe
from the Wordie Widget

This page is powered by Blogger. Isn't yours?