Using stale=ok would prevent the browser from stalling and running a cron job without stale=ok would keep your view up to date "enough" in most cases.
B. On Mon, Sep 28, 2009 at 2:22 AM, Nicholas Orr <nicholas....@zxgen.net> wrote: > Thanks for this - the penny has finally dropped as to why this may be useful. > > It's annoying having the browser stall for 5-10 seconds if I haven't > visited a certain page after a few hundred additions have been made to > the couch db's > > Nick :) > > On Thu, Sep 24, 2009 at 9:29 AM, Francisco Viramontes <p...@freshout.us> > wrote: >> http://gist.github.com/192378 >> >> Modified version of the script in >> http://wiki.apache.org/couchdb/Regenerating_views_on_update?action=show&redirect=RegeneratingViewsOnUpdate >> >> >> PAco >> >> >