Cached content on Widget

Hello

We implement our version control using a .txt file located in our website. This .txt contains the version string which is compared at runtime to check if it is necessary to download the newest version or not. Fairly simple.

Well, the WWW command works fine on the Application but we have a problem with the Widget. It seems that the page it reads is the cached one and even when the browser (safari) is reloaded to get the updated version of the page, the widget keeps on getting the same old cached page.

We need to know how to “Reload” a page from the Widget. Is this possible?

Andres

Not sure, but I had the same problem, so I ended up using a dynamically generated page. It’s just a really tiny perl script that prints out a few lines, including the version number, with a header date in the past. This way the page expires immediately and isn’t cached, so the widget always gets the most recent version number.

–Eric

Thanks Eric

It seems that you have found (and solved) all our problems already.

One question out of this topic… have you been able to implement a PASTE from the clipboard on your Widgets?

Supposedly one can use the widget.system(command, endHandler) method, but I have not been able to make it work.

Regards,
Andres

Haven’t tried that, sorry. :slight_smile:

–Eric