From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GHtMFg15CWIdXQAAgWs5BA (envelope-from ) for ; Sun, 13 Feb 2022 22:33:01 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id CFgiDw15CWJGUgAAG6o9tA (envelope-from ) for ; Sun, 13 Feb 2022 22:33:01 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EC3681A081 for ; Sun, 13 Feb 2022 22:33:00 +0100 (CET) Received: from localhost ([::1]:47340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJMUO-0006VN-47 for larch@yhetil.org; Sun, 13 Feb 2022 16:33:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJMU3-0006VF-Dz for emacs-orgmode@gnu.org; Sun, 13 Feb 2022 16:32:39 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:46427) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJMU0-0005bo-OX for emacs-orgmode@gnu.org; Sun, 13 Feb 2022 16:32:39 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id A2D2CFF804; Sun, 13 Feb 2022 21:32:32 +0000 (UTC) From: Nicolas Goaziou To: psychosis Subject: Re: [FR][org-cite][oc-basic] Persistent Cache for Bibliography References: <77KM6R.3BGD0Z3Z4PHF1@disroot.org> Mail-Followup-To: psychosis , emacs-orgmode@gnu.org Date: Sun, 13 Feb 2022 22:32:31 +0100 In-Reply-To: <77KM6R.3BGD0Z3Z4PHF1@disroot.org> (psychosis@disroot.org's message of "Tue, 01 Feb 2022 13:04:19 +0100") Message-ID: <874k52tpu8.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.199; envelope-from=mail@nicolasgoaziou.fr; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644787981; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=scb3JkjNGqwS/6l9XJm9hA5GRGmg3tJH2bvc1C3+27k=; b=Wg98Wnhpjz4bIw/sK5AOkeMw+IovHYIQ8TF+f/DpzJXuuTUJki5frVQKB7G8V8fl5xD0Js TXy79ZdjDi1JyENQDA2ayobnluiNnYd5gazy2up4mZtDIVJNA8ym5elzVDAxAmhV8W2HdO KC3w43VIiUMfQ7lwxLvZqqCol42lHLTmoPODEJ94qSCToIXV560z6nKpJ3KyNaqBwHhZV4 AzGhG6nevzgMg6+OLKLvQk81wmsBrWeh+/BirAIlmiyO9ubwZGUO9rAYWBijRyJuqhKefG 6byKjnPckwJSVYdPTgEa/2ZIdAFLjNRIceCWUX0fIwToH4nIlHx4DmydJIKO+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644787981; a=rsa-sha256; cv=none; b=OIoogPn4feug8MCbGIB/nTv1rif0+akeY57QKDP4AcKFUPuYZIdfye/kzlNj6jo0gi9wCN fPIMVVCeYcAcO6ymmN7V0/7UuOExRU9StNwzrIZU95SeIr+SIDWsI5tOVclF2kW1E98/83 K43rhjz8tH8geRSpg1RUkBduSDQm43OIjN4IIF2T1M52Hcx0GrvZCiiizEdJEGLl8PFNHn bC3WPVujMEaPuLfgkrEWikcs4Z/0NRie+xMJdXgXE8yKxB++leFB3h3fTs0Lp01qK7+oA7 8OW1cRN2wxiN1sNtSQORPw+KrI85682Cnx45kvsTKU/zVaBHYGJo2wto6pXLOQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EC3681A081 X-Spam-Score: -3.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: Twk66TgLL5ub Hello, psychosis writes: > thanks to everybody who contributed to the excellent org-cite. I am > satisfied with oc-basic, but org-cite-insert takes ten minutes on > first execution to load the .bib-file. (This was already discussed > here: > https://lists.gnu.org/archive/html/emacs-orgmode/2021-07/msg00466.html) > After the first execution however the .bib-file is loaded immediately. > I assume this has to do with the cache mentioned here: > https://lists.gnu.org/archive/html/emacs-orgmode/2021-11/msg00067.html. > Unfortunately it seems that this cache does not persist after emacs is > terminated. Would it be possible to make it persistent to eliminate > the load time on the first execution of org-cite-insert? You may use Persist package from GNU ELPA. Development Org also provides Org Persist library, but I haven't looked into it, and cannot tell if it will suits you. Regards, -- Nicolas Goaziou