Persistent cache across sessions using SQLite