I have an HTML5 application that requires offline support. I am using a local Apache server for the application, and am trying to figure out what the best way is to simulate offline mode (currently, in Firefox I disable my Air-Port to simulate offline mode, but this is a pain). Any suggestions? I am open to using other browsers if a method exists that doesn't require turning off my Internet.
+6
A:
For Firefox File->Work Offline
Google Chrome doesn't appear to have this feature
Edit: Also, another alternative is slightly more time-consuming to setup in the beginning but might be worth it. For Firefox/Chrome there should be proxy plugins, set up a fake/bad profile for each so that you proxy to something that doesn't exist... like 127.0.0.20:8080. After that you can switch the proxy setting on and off to emulate a full-stack test.
David
2010-04-15 16:52:48
Thanks David. Not sure how I missed this, but I appreciate the answer!
Kevin Sylvestre
2010-04-15 16:59:35
It's one of those things that you don't notice until you need it, and since you've never noticed it, you don't know about it :) Added one last thing to my answer "Proxies".
David
2010-04-15 17:28:49