WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] memcached vs. opcache (5 posts)

  1. igneous
    Member
    Posted 2 years ago #

    I have w3 total cache running on 7 wordpress installations on one domain like this: x.com, x.com/1, x.com/2, etc.
    it's all on one dedicated server, so I'm trying to figure out if I should use memcached or one of the opcache options? Is there any benefit for me to use one vs. another? I am going to be using a CDN for the sites as well.
    Thanks

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Anthony Somerset
    Member
    Posted 2 years ago #

    you'd get more benefits by first moving to wp-multisite for the installs, the the opcode cache would be more efficient

  3. haddow777
    Member
    Posted 2 years ago #

    It depends on what you are putting in the cache. Anthony is probably correct when it comes to object and DB caching. As for APC vs Memcache, I have found that most people are on the side of APC. It circumvents much of the PHP functionality and manages things itself, which is probably better.

    As for Page and Minify caching, your best bet from my understanding is disk enhanced and disk caching.

    It seems counter-intuitive, but it is supposed to make it so your webserver doesn't have to load PHP, but can just server the files directly which is supposed to be much faster.

    My opinion at least.

  4. Frederick Townes
    Member
    Plugin Author

    Posted 2 years ago #

    Using multisite in subdomain mode means that you will get better scale from PHP using APC for a smaller code base and then using APC as the backend cache for object caching and database caching for a single single codebase. Then using disk enhanced for page cache and disk mode for minify is probably your best bet.

  5. igneous
    Member
    Posted 2 years ago #

    I probably should have a long time ago, but I've had them running this way for years. There's over 100,000 posts between the different sites, and I have applications and some other things accessing their databases to pull info. It was too complicated for me to even think about changing it

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic