Add memcache functionality and added calls to functions

This speeds compiling my blog up from 3m44s to 37s. That's pretty
significant savings with a few well-placed memoization calls.
Update version