Re: build's html page - refresh rate

Vladimir Glazounov <[email protected]>
Newsgroups gmane.comp.openoffice.devel.tools
Organization StarOffice / Sun Microsystems, Inc.
Message-ID <[email protected]>
Browser believes that the current page is the one, to which it's been 
redirected. So, when it loads the redirected page, the page could be 
updated from perl => race condition & almost the same behavior...

Vladimir

David Fraser wrote:
> What about something like this:
> 
> main build page (index.html):
> 
> <meta http-equiv="refresh" content="0; URL=log1.html">
> 
> log1.html:
> 
> <meta http-equiv="refresh" content="10; URL=index.html">
> 
> Then you put the actual content into log1.html the first time. It will 
> periodically bounce to index.html and back.
> Then when generating another version of the page you put it into 
> log2.html, but only update index.html to point to log2 when the page 
> write is complete.
> Then hopefully since it is a small write to index.html it will never get 
> a broken index.html, and will only update to the new page when its ready
> (you could bounce backwards and forwards between log1 and log2)
> 
> Just an idea, I haven't tried it
> 
> David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.