HTTPUtils2 downloading old file version

touchsquid

Active Member
Licensed User
Longtime User
I have a digital signage app which checks a web site (which I publish) hourly for new content. It downloads a small sqlite file which contains filenames and file modified times so the app can decide whether to download new content, which is mainly PNG files.

This all works perfectly except for one thing. When it downloads the sqlite file, it is always at least one version behind the currently published file.

If I point a web browser to the file address on my PC it gets the correct version.

Tried it in the firefox browser on my tablet and it downloads the correct version.

In the stock browser it doesn't download the file, but opens it on screen. Altough the file is not readable I can see that it is not the correct version but the previous one. Refreshing does not help.

I can't see why firefox gets it right and the stock browser and my app get it wrong!

I would say it was locally cached except I tried a brand new completely clean tablet and it did exactly the same, so the "wrong" version seems to be on the internet somewhere.

All ideas welcome!
 

touchsquid

Active Member
Licensed User
Longtime User
I found the problem. The web server was caching content, it was a setting which could be disabled. It is fine now. Thanks!
 
Upvote 0
Top