memcache and OPS

Avatar
  • Answered
I recently had memcache and APOPS (is that right)? added to my server. I have an issue that technical help has asked me if I can clear these Caches? I apologize if I have not got this quite right. Can you help?
Avatar
BradM
Hi Soazkaren, I'm not really sure what cache our team was talking about, but I'll see if I can help. If I had more information about the problem that you're having, I could help a bit more in advising what cache it is you need to clear. Without this info though, I'll have to give some general guides below:

Clearing memcache cache

The following article should help in clearing your cached content in memcache: HowTo: Flush Contents Of a Memcached Server Using Command Line There are a few options you can try, one of them being logging into shell (as root) and running: echo 'flush_all' | nc localhost 11211

Clearing APC Cache

Both the official php documentation and a popular answer on stackoverflow state that you need to run the following php function to clear your APC cache: apc_clear_cache() If you're not familiar with how to do this, our Managed Hosting Team may be able to help.

Browser Cache

If you're referring to simply clearing browser cache, this article should help. Thanks, - Brad