-
February 18th, 2008
Simulate Network Delays
When developing web applications it is helpful to be able to simulate a slow network. This can help you see how your UI indicators, ajax loaders, etc., will operate in various network situations, unlike your local network which is generally free of any sort of interference.
These little snippets of code will freeze the execution of your web application for three seconds:
// PHP sleep(3);
// .Net System.Threading.Thread.Sleep(3000);
jenny | July 9, 2008 10:43 am
hi, dan!
man, stop posting so often to yer blog! it’s hard to keep up.
dog on pillow. girl on couch. sun on seattle. dot com.