Developer Jason S. created a BSD licensed version of a MemCache client library in Object Pascal. MemCache is basically an in memory name value key store that is usually used to help web servers handle a large amount of traffic. You cache data in MemCache that you know you will be using a lot. Next time you need that data you can check MemCache for the data and if it exists you can use it. Otherwise you can go get the data again (from a database for example) and cache it in MemCache for later use. Companies like Zynga use MemCache to handle the millions of users that use their services. If you are using DataSnap or IntraWeb and you want more performance give MemCache a try. There is MemCacheD server software available for Windows and Linux. The Object Pascal version of the client isn’t specifically for Delphi Firemonkey but it uses no platform specific units that I can see so it should work on Android, IOS, OSX, and Windows with few if any modifications. It may need a few tweaks to bring it up to Delphi XE8 Firemonkey. Full source code is available plus it should also work in Appmethod.

Download the full source code of the MemCache client library for Delphi XE8 Firemonkey.