mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
i18next: Disable i18n cache in development.
This commit is contained in:
@@ -19,7 +19,7 @@ var detectionOptions = {
|
||||
};
|
||||
|
||||
var cacheOptions = {
|
||||
enabled: true,
|
||||
enabled: !page_params.development,
|
||||
prefix: 'i18next:' + page_params.server_generation + ':',
|
||||
expirationTime: 2*24*60*60*1000, // 2 days
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user