initial caching.

Also tried to add created_at to sql lite cache, but ran into issues with
the old db not being cleaned up. commented out for now.