I saw some interest in using sqlite.lua instead of filesystem read/write.
This pr adds support for sqlite as optional form of saving and loading cache.
Users define for example _G.__luacache_use_sqlite and then require'impatient' to use sqlite.lua, otherwise it shouldn't impact performance or whether sqlite.lua is installed or not.
Hey @lewis6991,
I saw some interest in using sqlite.lua instead of filesystem read/write.
This pr adds support for sqlite as optional form of saving and loading cache.
Users define for example
_G.__luacache_use_sqlite
and thenrequire'impatient'
to use sqlite.lua, otherwise it shouldn't impact performance or whether sqlite.lua is installed or not.