1

I have a php webpage that I'd like to cache and use local storage when offline. When connected to wifi, the page loads fine. When I turn off my wifi, I get a HTTP ERROR 500, and the page will not load at all, even though I thought the html, css files would still be in the cache. Is there a way to fix this? Thanks

3
  • If you get a 500 status code, you get something from a server. Means, you have some connection. Or your application displays this willingly without connecting to a server, but that would be actively misleading. Commented Oct 7, 2021 at 8:33
  • Bear in mind that "a server" can equally mean your local webserver, which is also capable of returning a 500 status code. It doesn't have to be a remote one. Commented Oct 7, 2021 at 8:45
  • Yep, I'm running it locally and I've no idea how to fix it. thanks for your help Commented Oct 7, 2021 at 8:52

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.