[Plugin: Zotpress] Child items causing loading delays?
-
So I think this is something new in 3.0: items in Zotero with “child” items (such as a web page snapshot) seem to cause a long delay when first loading. The delay disappears once the items are cached, but it’s a significant delay that (at least on Mac OS) seems to cause the browser to freeze for its duration. Here’s an example: this page includes two references, one with and one without a ‘child’ element.
First reference:
http://www.zotero.org/32by32/items/7FVVZQGJSecond reference:
http://www.zotero.org/32by32/items/5TPCPURKChild element of second reference:
http://www.zotero.org/32by32/items/JGI5KTCCThere are three copies of zotpress.rss.php spawned for the page — If I’m correct, one for the two main references and then one for the child of the second reference. The first two take 700ms and 240ms to execute, respectively. But the third one takes a whole two and a half seconds. If you multiply that times a page with a lot of child elements you can imagine the delay that might build up.
It’s possible that the Zotero server API is introducing these delays… Here’s the interesting question: does Zotpress need to fetch these child elements at all? As far as I know, the URL of a given citation is stored in the record itself, so Zotpress could just ignore any child element (such as a web page snapshot) and perhaps speed up the retrieval process.
The topic ‘[Plugin: Zotpress] Child items causing loading delays?’ is closed to new replies.