Skip to content

Octoprint browser client keeps local cached version of printer.cfg #56

@poorredneck

Description

@poorredneck

Octoprint 1.3.12 on Raspberry Pi3b+

I have a windows 10 tablet that is dedicated to the 3D printer (computer #1). Basically just keeps Chrome tab fullscreen on Octoprint interface. I also use a laptop( computer #2) for interfacing with octoprint/klipper.

If I access the printer.cfg editor on computer #1, save. Then open the editor on computer #2, save. 5 minutes, 1 day doesn't matter. If I open the editor on computer #1 again, it did not actually re-read the file. It kept a cached version in the browser. Make a change, save it, the changes made from computer #2 are over-written.

If I refresh the tab on computer #1 it seems to re-read the file. So I've just made it a habit of refreshing the tab each time I want to change the config file.

Would be nice if it re-read the file each time the editor tab is opened, if that's possible with OctoPrint's architecture.

Took longer than I'd like to admit to figure that out. I'm making alot of changes (new installation, fine tuning) and seemed like I was in a 1 step forward 2 steps back thing for a while.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions