+2 votes


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?


in Engine by (52 points)

1 Answer

+2 votes

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.

by (74 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 Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.