the longest thing is the Lang translate.
A cache will make it much faster.
This relies on the fact though that if you as a dev change the ENGLISH translation, that the cache is missed.
SO then the ONLY way we can do this is to CACHE the en.json, and if that is changed do the gen.
If its not changed, then dont do the gen
So there is no cache essentially.
Just check if the File Datetime is changed.
Add a --force to the gen phase so that CI always buidl the complete LANG files.
The Gen phase of the code is long.
the longest thing is the Lang translate. A cache will make it much faster. This relies on the fact though that if you as a dev change the ENGLISH translation, that the cache is missed. SO then the ONLY way we can do this is to CACHE the en.json, and if that is changed do the gen. If its not changed, then dont do the gen So there is no cache essentially.
Just check if the File Datetime is changed. Add a --force to the gen phase so that CI always buidl the complete LANG files.