Hi Félix, The usual trick for overcoming unwanted caching is to include a changing reference to the file. Eg instead of referring to json data file datafiles/data_file1.json Use datafiles/data_file1.json?4567 And change the 4567 part each time. A usual method is to use the current time expressed as an integer.
Everything after the ? will be ignored unless the target file expects it. Good luck, Larry ________________________________ From: Félix GONZÁLEZ HERRANZ <[email protected]> To: SIMILE Widgets <[email protected]> Sent: Wednesday, December 17, 2008 5:18:30 AM Subject: How to load the updated JSON file? Hi all, I have taken up again my Exhibit project and I am now facing a new issue. I am not sure if it has been discused already on the list (sorry if it is the case) My website has a form to include new items to the Exhibit project. Once an item is entered, the JSON file is enhanced with the new data. The problem is that going back to the Exhibit presentation, information shown correspond to the old JSON. It seems to me as if the old JSON is saved in the cache and the new one is not loaded. Do you have an idea about how to force to take the new JSON? Thanks a lot. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en -~----------~----~----~----~------~----~------~--~---
