Page 1 of 1

Simplecache Lua Library

PostPosted: Thu Jul 02, 2015 09:36
by crazyR
Hi guys,

I created this little library initially for a mod that showed dynamic information on a formspec, but has since been used in many other little projects.
This is exactly what it says in the title. it is a way of caching information for use in your scripts, It is not file based and only stores the cached data in a table, the data is then removed after a predefined expiry time.


Find it on Git Hub, Feel free to contribute anything you feel would improve it:
https://github.com/crazyR14/simplecache-lua-library

Re: Simplecache Lua Library

PostPosted: Thu Jul 02, 2015 10:42
by rubenwardy
Looks good. It's a good improvement on the existing Context storage pattern, as it deletes after a while.