title: how we can ensure caching to reduce file-system write cycle for SQLite databases
body: <p>I would like to implement caching in <code>SQLite</code> Database. My primary objective is to write data to <strong>RAM</strong> and when the Cache is filled I want to flush all the data to disk database. I would like to know whether it is possible at all? if possible can I have some sample codes?</p>
  
  <p>Thanks  </p>