When developing PHP applications locally, sometimes the performance is not as great as it could be, especially when working with frameworks such as Laravel or Symphony. One place to start looking to gain some performance is the realpath_cache_size
PHP setting. This setting comes in handy in composer-heavy applications.
This setting basically makes it so PHP doesn't have to look up file paths on every request.
For more information on this setting, and how to tune it consider reading Hayden James's article Set PHP realpath_cache_size "correctly".
∎
John Koster
Learning text parsing, manipulation, encoding and more through the Laravel string helpers.
Published on November 29, 2016
Published on November 20, 2016
Published on April 22, 2018