Update configuration file being cached (wodAppUpdate)
Hi,
We are currently rolling out AppUpdate but have come across a problem that is affecting some of our sites.
When they wodAppUpdate.Check for updates AppUpdate detects no updates. However, if they then display the configuration file in Internet Explorer and then retry wodAppUpdate.Check it successfully reports available updates.
I assume that this is some sort of caching problem. As I'm not a PHP site what it it i have to add to disable caching?
Thanks,
Ivan
Re: Update configuration file being cached
Ivan,
I checked, we use WinInet but we do set INTERNET_FLAG_DONT_CACHE flag that doesn't cache our data.
If IE settings are to cache information, only thing that comes to my mind would be to try to add dummy paramter even to text file such as
http://your.server/update.txt?dummy=123
TXT file would ignore it, and IE wouldn't be able to retrieve it from the cache since it doesn't have those details. Can you try that?
Kreso
Re: Update configuration file being cached
Kreso,
I've added ?now=20090211114723 (i.e. current date and time).
This certainly has the desired effect with Internet Explorer but i'll have to wait to see if this solves the caching problems with live sites.
I'll let you know when I know...
Thanks,
Ivan.