[resolved] Questions about a good setup for W3 Total Cache on a VPS (7 posts)

  1. Julian Fernandes
    Posted 3 years ago #

    Our website started to get too big, so it's time to move to a VPS. The setup i have on my mind is Ubuntu 12.04 Server + Nginx + PHP-FPM + APC + Varnish... but my host said i would not need Varnish just yet, since we have around 10k daily visitors, and we would not see any performance gain. Is that right? I don't think so, but... they are the experts, not me.

    Also, i'm thinking about doing this:
    Page cache: disk (enhanced)
    Minify: APC
    DB cache: APC
    Object cache: APC

    I decided to do that way cause i saw Frederik saying here and there that disk (enhanced) is better for Page cache. Is that right? Should i use it for minify too or use APC for everything? Our server run SAS 15,000 RPM disks in RAID 10, with OnApp, would disk cache be fast enough?

    Thanks in advance :)

  2. Jonathan Dingman
    Posted 3 years ago #

    apc for database cache
    disk enhanced for page cache
    disk for minify
    memcached for object cache

    those are ideal settings, if you're able to get memcached installed.

  3. Julian Fernandes
    Posted 3 years ago #

    Jonathan, can you explain why exacly i should choose Disk instead of APC for page cache? I mean, isn't memory > disk?

  4. Jonathan Dingman
    Posted 3 years ago #

    Those are the settings that were recommended to me by the plugin author, so I felt like they were worth passing on.

  5. Julian Fernandes
    Posted 3 years ago #

    Cool, thanks a lot :)
    I'm just concerned about the disk cache... since i dunno if my disks are fast enough.

  6. The reason why disk enhanced is better for page caching with Nginx is because Nginx serves static files very fast without ever hitting PHP. When you use APC it's a PHP process which can be slower even though it's from memory.

    If your not convinced run tests on different settings to determine what works best for your setup.

  7. Julian Fernandes
    Posted 3 years ago #

    Got it @Chris Olbekson :)
    Thanks for the help guys!

Topic Closed

This topic has been closed to new replies.

About this Topic