mirror of
https://github.com/flarum/framework.git
synced 2025-02-06 17:12:59 +08:00
Simple forum software for building great communities.
13ce2d1e3d
We had added a `storage/locale` directory to our skeleton, but we had forgotten to hook it up with the translator. Enabling caching saves parsing that locale YAML files on every pageload which should be good for performance. The locale cache will be cleared whenever an extension that uses the `Locales` or `LanguagePack` extenders is enabled/disabled. If debug mode is ON, then the caching mechanism will automatically check if any of the loaded YAML files are dirty and update accordingly. |
||
---|---|---|
framework/core |