Join the community 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

    63
    12
    8
    Mar 26, 2018
    Ratings:
    +18
    Local Time:
    9:49 PM
    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

    55,155
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    6:49 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    I wouldn't bother to be honest just keep the defaults :)
     
  3. iaTa

    iaTa Member

    63
    12
    8
    Mar 26, 2018
    Ratings:
    +18
    Local Time:
    9:49 PM
    Ok will do, cheers.