Learn about Centmin Mod LEMP Stack today
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

    89
    16
    8
    Mar 26, 2018
    Ratings:
    +32
    Local Time:
    6:15 AM
    Nginx 1.31.x
    MariaDB 10.11.x
    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

    58,893
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    3:15 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    I wouldn't bother to be honest just keep the defaults :)
     
  3. iaTa

    iaTa Member

    89
    16
    8
    Mar 26, 2018
    Ratings:
    +32
    Local Time:
    6:15 AM
    Nginx 1.31.x
    MariaDB 10.11.x
    Ok will do, cheers.