glenrobson / SimpleAnnotationServer

A simple IIIF and Mirador compatible Annotation Server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Performance issues due to jsonblob API calls ?

dasch124 opened this issue · comments

Hi, we are evaluating Simple Annotation Server as the transcription backend for a digital edition project. In principle it works pretty well for us, however we experience some poor performance caused by Mirador continuously making calls to https://jsonblob.com (seemingly to persist its UI state). Is this anything you have experienced on you side as well? I found some old github discussions reg. this issue (ProjectMirador/mirador#559), and it seems that it should have been solved in recent versions of Mirador – so I was wondering if you considered upgrading Mirador shipped with Simple Annotation Server? (or is there a show stopper of any kind?)
Apart of this: Thank you for your work on this, it seems really promising!

Hi,

I think the version of Mirador included with SAS has that fix... Have you tried the following Mirador configuration:

saveSession: false

For a saveSession example in context you can see:

. If you set this to false it shouldn't use jsonBlob any more.

It looks like there is a Mirador 2.7 which I could include but I am planning to move to Mirador 3 in the near future and at that point I'd like to remove the Mirador source code from the SAS repository although I hope to include a compiled version for the binary distribution.

Hope that helps.

Glen

I think the version of Mirador included with SAS has that fix... Have you tried the following Mirador configuration:

Great, thank you for the hint – we will try this out!

It looks like there is a Mirador 2.7 which I could include but I am planning to move to Mirador 3 in the near future and at that point I'd like to remove the Mirador source code from the SAS repository although I hope to include a compiled version for the binary distribution.

Seems like a sensible compromise!

I also found you had to set bookmark to false here:

"buttons" : {"bookmark" : true, "layout" : true},

to get it to stop using jsonlob.