9

I don't know anything about caching other than having read that people use APC/Opcache/Memcache/Memchached/Varnish ... to makes PHP go faster :)

So, I tried APC last week since I was on PHP5.4, but then updated my to PHP5.5 so I could use Opcache. So, now that Opcache is working, I need to even make my wordpress site faster, and since I have heard that APC is not compatible with opcache, I would like to know if memcached is OK to use, as I am almost certain varnish is OK because it is not related to PHP.

So, will using memcached further improve my site?

robue-a7119895
  • 816
  • 2
  • 11
  • 31

2 Answers2

40

OPcache is for accelerating code access. memcached is for accelerating data access. They are completely different, and completely independent.

Ignacio Vazquez-Abrams
  • 776,304
  • 153
  • 1,341
  • 1,358
7

While OpCache doesn't support the user-side caching functionality of APC, it can still be a useful tool, and so the Pecl module, APCU was extracted from the original. It's entirely compatible with the original, but leaves the zend-code cache for OpCache.

Alister Bulman
  • 34,482
  • 9
  • 71
  • 110