Re: build's html page - refresh rate

David Fraser <[email protected]>
Newsgroups gmane.comp.openoffice.devel.tools
Message-ID <[email protected]>
That's why my redirection script kept bouncing it back to the index page 
- and you only update the index page to point to a different location 
once that location is ready.
Am I missing something? Maybe I must try it out myself...

Vladimir Glazounov wrote:

> 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
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
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.