correctly set the sqlite3 cache mode