Implement Caching
Open
enhancement
- Dominant language
- PHP
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Before calling the API, check the cache for a translated value for this string
cache keys can look like
`md5($string . $targetLanguage)`
Cache it forever...not like a string's translation to another language is going to expire, right?
Probably best to make enabling this a configurable option, there are probably some contexts where you wouldn't want to fill the cache with translations of things...
Contributor guide
Assessment
This issue has not been assessed yet.