Using ClearMemCache
tsugawa opened this issue · 1 comments
tsugawa commented
I am changing my json file at run time. Then I execute the ClearMemCache method and refresh the view containing the keys. Should the view display the new key values?
tsugawa commented
Looking the source code I found this comment:
In order to use this method, JsonLocalizationOptions.ResourcesPath & JsonLocalizationOptions.IsAbsolutePath = true must be set. For more information, see: [https://github.com/AlexTeixeira/Askmethat-Aspnet-JsonLocalizer/wiki/How-file-path-works]
My IsAbsolutePath property was False