[Koha-devel] [Koha] Saving MARC records very slow

Mason James mason.loves.sushi at gmail.com
Tue Jun 30 02:33:36 CEST 2009


On 2009/06/30, at 11:52 AM, Rick Welykochy wrote:

> Cab Vinton wrote:
>
>> This was covered on the list a while back -- in Firefox it was taking
>> 40-50 s on our staff clients to save records.
>>
>> We've switched to Google Chrome & the time is now much more  
>> manageable.
>>
>> I don't believe a diagnosis or fix were ever found for the Firefox  
>> issue.

> As pointed out, this is because of Javascript.
>
> Question: can Koha operate properly with JS disabled? If not, why not?
>
> Observation: JS is quite slow compared the server itself. Perhaps the
> *HUGE* task of validating a MARC save could be (optionally) left to
> the server to validate.


this is a good suggestion, but might require a pretty big rewrite of  
the marc-editor code (not for the faint-hearted)

another easier speed win could be to find the slow/often-executed JS  
code thru profiling,
and rewrite it with some optimised jquery

is jquery code faster? ermmm i'm not sure actually ;)

just a thought...



More information about the Koha-devel mailing list