Back to amCharts.com

Avoid data caching

One of the most frequent complains is: "I changed the data/settings but nothing happend". Most likely your data or settings file is cached by the browser. If your data doesn't change frequently, you could simply clear your browser cache (delete temporary internet files) every time you encounter this problem.

If this is a problem that you run into often, you can disable data caching in the settings file:

<add_time_stamp>true</add_time_stamp>

This will force the browser to reload your data every time you refresh the web page.

There is no such function for the settings, however. If you need your settings to be reloaded every time, you can easily add a time stamp to your settings file name. Here is an example in PHP:

so.addVariable("settings_file", "settings.xml?<?php echo mktime();?>");
Back to top