+1 vote


I'm using HTTPrequest to load into memory a web page. It works fine, but android export has some issues:
Once I run application for the first time, it works like a charm, then I do the following:
- modify the web page (and save changes, obviously)
- close the application
- reopen the application one, two or many times, doesn't matter

Everytime I reopen the appication ,it get the previous version of the web page.
The only way to get the updated page is to turn airplane mode off and turn it on just afterwards.

Looks like the application uses some permacache to store data get by HTTPRequest.

I'm not an android expert, perhaps it is some android behaviour, but it is really an issue for my project.
Any suggestion how to turn that permacache off?


asked Feb 14, 2019 in Engine by burstina (44 points)

1 Answer

+1 vote

I experienced this also. Restarting Godot doesn't fix the problem, either. It looks like the cache expires by itself within a few minutes, though; so just re-run your app a few times and it'll eventually work out.

answered Jun 1, 2019 by nightblade9 (46 points)

If that's the case, I feel like there should be a Godot-Proposal submitted about it. But to do that, one would need to do some research about how to actually implement that, perhaps investigating where in the codebase that caching occurs, or determining if the OS handles it / if the operation can be intercepted, etc.

Note: I know nothing of how any of that works.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.