This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi there! I am a proud Lightspeed pwner! However, I can´t seem to find any good examples or documentation on how to use/configure the L2 Cache with memcached. Can you please provide a walkthrough, some links or a short example of how to do that?
Thanks! |
|
|
See the MemcachedCache class help page for configuring a memcached cache: http://www.mindscapehq.com/Help/LightSpeed/html/T_Mindscape_LightSpeed_Caching_MemcachedCache.htm (there is a brief code sample near the top of the page) For configuring LightSpeed to use the MemcachedCache, see the Caching topic in the help file: http://www.mindscapehq.com/Help/LightSpeed/Help%20Topics/LightSpeed/Caching.html This contains code to use the DefaultCache: to use memcached instead, just change new DefaultCache() to the instance of MemcachedCache that you set up in the previous step. (You'll probably want to use code rather than the config file because the config file doesn't provide a way to apply nondefault settings to MemcachedCache.) Hope this is enough to get you started -- let us know if you need any more info. |
|