Spoolman icon indicating copy to clipboard operation
Spoolman copied to clipboard

List caching are not refreshed

Open rufinus opened this issue 1 year ago • 3 comments

Sometimes after entering a Filament or Spool the list does not show the added spool/filament. Even hard refreshes of the interface dont change that. After a little debuging the API Endpoints return a 304.

But if viewing the Filament/Spool Detail Page its shown as normal.

After a few days (TTL of the cache i guess) the filament/spools appear as normal)

Version: 0.13.1 Database: mariaDB: 10.9.x

If this is hard to debug, an easy solution for me as user would be a refresh button in the list which enforce a reload from the database - as we have on the detail page.

see comments in #49 too.

Bildschirmfoto zu 2023-10-29 22-34-01 Bildschirmfoto zu 2023-10-29 22-32-57

rufinus avatar Oct 29 '23 21:10 rufinus

If you add a new filament or spool when this happens, do you now see the missing filament/spool again?

Donkie avatar Oct 30 '23 06:10 Donkie

not in the list, no. Spool ID is currently 52. Mainsail sees the spools after refresh. It seems to be some browser thing. (webfrontend and mainsail use afair the same api calls?)

rufinus avatar Oct 30 '23 06:10 rufinus

Most definitely a web thing then. I will investigate further

Donkie avatar Oct 30 '23 06:10 Donkie