magento / magento-cloud

Magento Cloud
Open Software License 3.0
207 stars 237 forks source link

Set 10M for realpath_cache_size in php.ini #537

Closed benjamin-volle closed 1 year ago

benjamin-volle commented 2 years ago

Description

Regarding this article, https://support.magento.com/hc/en-us/articles/360045176771-Realpath-cache-size-best-practice, realpath_cache_size should be set a 10M

Contribution checklist

Nurgiel commented 1 year ago

Now it's also mentioned in the docs: https://experienceleague.adobe.com/docs/commerce-operations/implementation-playbook/best-practices/planning/realpath-cache-size.html?lang=en

To improve Commerce performance, use the following recommended settings to configure the realpath_cache settings in the php.ini file:

Set the cache size to 10 MB (realpath cache_size=10M)
Set time to live (ttl) to 7200 seconds (realpath_cache_ttl=7200)
shiftedreality commented 1 year ago

Internal ticket: MCLOUD-10241

benjamin-volle commented 1 year ago

Up :) I'm pretty sure some projects will have issues (mainly on Azure hostings) due to this configuration :/

shiftedreality commented 1 year ago

@BaDos

BaDos commented 1 year ago

@magento import pr to magento-commerce/magento-cloud

m2-github-services commented 1 year ago

@BaDos the Pull Request is successfully imported.

BaDos commented 1 year ago

@benjamin-volle thank you for your contribution