Translations:Administrators/Optimize performance/21/en

James Hayden has written an article about how to optimize PHP's realpath cache size settings. As he states, the cache should be as big as necessary but as small as possible because the cache is per process. The TTL value (the time in seconds after which the file informations will be retrieved again from the file system) can be set to a high value if the permissions of the files doesn't change (which shouldn't be the case). The PHP documentation contains also a section about the realpath cache settings.