Welcome Guest, Not a member yet? Register   Sign In
Re-writing db caching to use Memcached instead of disk?

[eluser]Daniel H[/eluser]

I was just wondering whether anybody has attempted to re-write the db caching mechanism to use Memcached instead of writing the queries to disk? If you have, would you be able to share your code?


[eluser]Phil Sturgeon[/eluser]
Have a pop at this one yourself. Just open up DB_cache.php and modify read(), write(), delete() and delete_all() to use the memcache functions.

If you could do it in a way that would support both via a config option, who knows, they might even commit it to the main codebase.

Theme © iAndrew 2016 - Forum software by © MyBB