Support » Plugin: W3 Total Cache » Opcode: Accelerators

  • Resolved rudolfl

    (@rudolfl)


    Hi,

    Would love to get some explanation on selection and use of PHP accelerators

    I run my websites off VPS. My server runs Linux, Apache and PHP 7.3 with Zend Opcache support.
    Going through settings of W3 cache, following options for Accelerators are presented (but greyed out):
    APC
    eAccelerator
    XCache
    WinCache

    APC and eAccelerator are no longer supported as of PHP 5.5, WinCache is not applicable to Linux. Same for Database cache and Object cache (more on object cache later).

    Zend Opcache is not even an option (can only select it for Opcode caching). So, the only option I can really use for page cache is disk.

    Now, for object cache. I tried to enable it with disk as the only option. In a day, it consumed 20G of disk space! I think there is a need for option where user can select maximum disk usage.

    Rudolf

Viewing 1 replies (of 1 total)
  • Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello @rudolfl

    Thank you for your inquiry and I am happy to assist you with this.
    For Object Cache and DB cache, it’s recommended to use memory-based caching solutions like Memcached or Redis.
    Caching to disk is not recommended especially for use-cases such as yours.
    So you should choose Redis or Memcached. Please note that you need to install a phpredis module or Memcached PHP module on your server to be able to select them in W3 Total Cache.
    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Opcode: Accelerators’ is closed to new replies.