I am looking to display a progress bar for the first part of the an ordinary non-ajax browser request, when the browser is waiting for a response from the server. On my drupal sites, I have found this waiting time can be several seconds depending on the conditions. I have been messing with pace.js (http://github.hubspot.com/pace/docs/welcome/) and it loads and behaves nicely once the response is received and the content is loading.
Is this a viable thing to do? Or will it be a dead end because ultimately the browser knows not what it is waiting for...