If there is a difference between the json files, I want to update the json data.

Asked 1 years ago, Updated 1 years ago, 66 views

There is a part in the application that reads the json file, but even if I update the json file on the server, it will not be reflected in the contents of the application.(If you drop one end of the app, it will be reflected.) What kind of action should I take to make it reflect?

monaca json

2022-09-30 20:19

3 Answers

If it doesn't reflect even after reacquisition, I think it's better to check if the contents of the communication are cached.It probably doesn't matter if it's JSON or not.


2022-09-30 20:19

(If you drop one end of the app, it will be reflected.)

So, when to save the downloaded json file and when to read it?
Do you keep holding data from old json files by reversing them?

In any case, how is it implemented in more detail?
If you specify the code for the relevant parts, you will get a closer opinion.


2022-09-30 20:19

If the cache is only saved, you can access it with random parameters to avoid using it.


2022-09-30 20:19

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.