Want more timely Centmin Mod News Updates?
Become a Member

PHP-FPM Disabling Zend OPcache validate timestamps

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by iaTa, Mar 13, 2025.

  1. iaTa

    iaTa Member

    62
    10
    8
    Mar 26, 2018
    Ratings:
    +16
    Local Time:
    4:37 AM
    What are your thoughts on disabling opcache.validate_timestamps and instead use a plugin like OPcache Reset or The Cache Purger which will flush the OPcache after any updates to WordPress core, themes, or files?

    Then you would benefit from a non-expiring OPcache between any upgrades.

    Are there any reasons not to do this?

     
    Last edited: Mar 13, 2025
  2. eva2000

    eva2000 Administrator Staff Member

    54,946
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,812
    Local Time:
    2:37 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    I wouldn't bother to be honest just keep the defaults :)
     
  3. iaTa

    iaTa Member

    62
    10
    8
    Mar 26, 2018
    Ratings:
    +16
    Local Time:
    4:37 AM
    Ok will do, cheers.