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.Olaf Kock– Olaf Kock2021-10-07 08:33:27 +00:00Commented 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.mark_b– mark_b2021-10-07 08:45:18 +00:00Commented Oct 7, 2021 at 8:45
-
Yep, I'm running it locally and I've no idea how to fix it. thanks for your helpuser1655130– user16551302021-10-07 08:52:31 +00:00Commented Oct 7, 2021 at 8:52
Add a comment
|