memcache and OPS

Category: Cpanel

Soazkaren
Asked:
2013-08-30 10:05 am EST

Hits: 268
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?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

sorry, I could not get into my account. I should probably post it there since I will need help. I do not have root access. I was talking about APC or OPCacheCode. (close huh). ;-) Thanks for you help
Soazkaren
20 Points
2013-08-30 10:45 am EST
Hi Soazkaren! I updated my answer below to include info on clearing your APC cache. Seems like you need to create a php file and just run this function:
apc_clear_cache();
BradM
5,399 Points
2013-08-30 11:32 am EST

OTHER ANSWERS

0

BradM
Staff
5,399 Points
2013-08-30 10:36 am EST
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

You must login before you can post a comment about this answer.

Like this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!