← Back to team overview

zim-wiki team mailing list archive

Re: Restart for changes (Web Server Crashes - no)

 

On 02/23/2015 02:44 AM, Jaap Karssenberg wrote:
Looks like a bug in the caching to me - will look into that. Could you report it in the bug tracker?

Certainly, I'll do this later today.

The expected behavior is that the webserver sees all page changes after a page is safed and the browser is refreshed.

Excellent!

(Which makes me think - is there a use case for a web template that forces reloading every x seconds from javascript ?)

Yes, I can think of some. And it would be cool if it's easy... but there are also plenty of options (plugins and such) for browsers to force refreshing of arbitrary pages, so I would consider it a "nice to have", not a requirement, even for the above mentioned use cases....

Thanks Jaap!




Thanks,

Jaap



On Fri, Feb 20, 2015 at 11:49 PM, Mike Morris <mike@xxxxxxxxxxxxxx <mailto:mike@xxxxxxxxxxxxxx>> wrote:

    On 02/18/2015 09:32 PM, WEHLER Andreas wrote:

        Hi.

        Web server has to be restarted for changes. You cannot watch some
        editor typing in the keyboard with a remote web server ...


    I don't need to see the actual editing, down to keystroke level,
    as in a remote desktop session. My use case at present is working
    in a conference room with no projector; I just want other people
    to be able to see the work in progress in their browsers,
    refreshed every few seconds or minutes.

    Since Zim auto-saves on updates, would it be possible to flush the
    webserver's cache for a modified page as it does the save? Then
    the webserver would be as up to date as the disk image, which is
    more than enough for my use case.

    I assume the webserver has some kind of cache, otherwise it
    couldn't serve the pre-saved version of a page, right? I don't
    image there are many users with high enough traffic on the zim
    webserver that clearing the cache would be a big problem. But it
    could also be made a preference.

    Is this harder than I imagine it, or could it be a reasonable
    feature request?

    TIA,

    MikeM






        Regards,

             Andreas



        On 18.02.2015 21:55, Mike Morris wrote:

            On 02/18/2015 12:45 PM, Mike Morris wrote:

                However, when I update a document it crashes the
                webserver. Upon
                restarting the webserver, the changes are available on
                the webpage.

            Sorry - the webserver "crash" was apparently another
            problem, I can't
            get it to repeat today.

            But updates do not propagate to the running webserver....
            so I'm still
            wondering if requiring a webserver restart to update the
            browser  is
            intended behavior.

            Thanks


            _______________________________________________
            Mailing list: https://launchpad.net/~zim-wiki
            <https://launchpad.net/%7Ezim-wiki>
            Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
            <mailto:zim-wiki@xxxxxxxxxxxxxxxxxxx>
            Unsubscribe : https://launchpad.net/~zim-wiki
            <https://launchpad.net/%7Ezim-wiki>
            More help   : https://help.launchpad.net/ListHelp




    _______________________________________________
    Mailing list: https://launchpad.net/~zim-wiki
    <https://launchpad.net/%7Ezim-wiki>
    Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
    <mailto:zim-wiki@xxxxxxxxxxxxxxxxxxx>
    Unsubscribe : https://launchpad.net/~zim-wiki
    <https://launchpad.net/%7Ezim-wiki>
    More help   : https://help.launchpad.net/ListHelp




References