webPopup: REALLY Sticky cache?

I deployed my app on my test iPad.
There are instructions and a website devoted to the app (which is being built)

When I first used the deployed app to view the web page, I got the 2 pages which I had created so far.

Without changing the deployed app, I added new pages to my mini web site.
But the deployed app is not seeing any of the changes.
Safari from the same machine does.

There doesn’t seem to be a refresh cache method on the webPopup object.
And turning the iPad off and on doesn’t fix it either.

How do you clear the webPopup cache so that it gets new pages?
(This will be important later as I intend to offer freebies and cross links via these pages)
[import]uid: 108660 topic_id: 19816 reply_id: 319816[/import]

I found this thread because I was looking for a solution to the same problem. I really need to be able to fix this as it is very annoying for development.

Especially items loaded by the main HTML (such as CSS and JS) are experiencing extremely aggressive caching.

If I change the CSS, nothing happens. My browser updated ages ago already.

If I remove the CSS ref from the HTML, the styles are gone (meaning the main HTML is not being cached as much) but if I put it back, I am looking at the same dated CSS from the cache again. [import]uid: 67504 topic_id: 19816 reply_id: 77245[/import]

I have a method for the users to download new content.
But the file on the server that holds the file list is not being re-read, so everyone thinks there is no new content.
Im desperate now… how can I force the cached file to expire and get the current value?
[import]uid: 108660 topic_id: 19816 reply_id: 88158[/import]

If you are testing on iOS it’s a known feature that WebPopups built into iOS aggresively cache data and do not clear it for some time.

My app connects to a server to download news headlines from NewsHeadline.txt and it takes a very long time before the new headline appears in the app.
I’ve Googled around and it’s a known issue not just for Corona.
At this stage, there is nothing you can do to resolve it afaik. [import]uid: 10389 topic_id: 19816 reply_id: 88506[/import]

Would be good if we have one API like [lua]purgeWebPopup[/lua] as we do with storyboard regarding this issue of data chaching. :\
[import]uid: 89165 topic_id: 19816 reply_id: 88509[/import]

I second this request. I’m getting really strange webpopup behavior between scenes using storyboard. [import]uid: 42417 topic_id: 19816 reply_id: 95675[/import]

As far as I am aware, the ‘stickiness’ of the cache is set by Apple and is present in all applications and cannot be changed by Ansca. [import]uid: 10389 topic_id: 19816 reply_id: 96164[/import]

@WauloK, thanks for the feedback.

But would be nice if the Ansca Team would be able to “manipulate” this behavior as getting something as a “purgeCache” for it. :slight_smile:
Cheers,
Rodrigo. [import]uid: 89165 topic_id: 19816 reply_id: 96166[/import]