分类:
2009-06-05 10:09:13
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:
> true>
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的例子,但是我们只用第一个,设置setting file的属性就可以,即:
> true>
继续,下一个。。。