connect

MemcachedCache.connect(*args, new_connection=True, **kwargs) → pylibmc.client.Client[source]

Create an instance of the library used to interact with the caching system, ensure it’s connection is open, and store the instance on this class instance - only if not already connected.

Should return the class instance which was created.