Just a quick update…
In the run up to the Known 1.0 release, I’ve made a small tweak to the back end caching objects. Essentially, they functionally work the same, but are implemented using symfony cache components.
Further down the line I’m thinking about replacing our cache entirely with symfony in order to allow for easier caching back ends, not to mention the far superior “cache contract” interface.
This is a low level thing, but useful if you’re a plugin developer to know what is coming down the pipe!
It was about time I got to grips with Redis, so I put together a quick plugin for Known to add Redis support.
It provides a
PersistentCache derived cache, suitable for using with Known, and also
makes it easier for you to use Redis from your code.
Drop the Redis folder into the IndoPlugins folder of your idno installation.
Due to the way Known loads classes, you don’t need to activate the plugin in order to be able to use the class.
If you want to use the Cache system wide, modify your
config.ini as follows:
cache = 'IdnoPlugins\Redis\RedisCache'
Note, you need to use at least Known build 20180630.
» Visit the project on Github...