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 uCOKEtcm+WFWzAAAgWs5BA (envelope-from ) for ; Tue, 01 Feb 2022 13:25:59 +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 mEtNC9cm+WGRhgAAG6o9tA (envelope-from ) for ; Tue, 01 Feb 2022 13:25:59 +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 ADBAA2C469 for ; Tue, 1 Feb 2022 13:25:58 +0100 (CET) Received: from localhost ([::1]:42356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEsEP-0006Ox-Lg for larch@yhetil.org; Tue, 01 Feb 2022 07:25:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEsDR-0006Nh-3f for emacs-orgmode@gnu.org; Tue, 01 Feb 2022 07:24:58 -0500 Received: from knopi.disroot.org ([178.21.23.139]:39870) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEsDO-0007M7-8f for emacs-orgmode@gnu.org; Tue, 01 Feb 2022 07:24:56 -0500 Received: by disroot.org (Postfix, from userid 107) id A63F718558; Tue, 1 Feb 2022 13:04:26 +0100 (CET) Date: Tue, 01 Feb 2022 13:04:19 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1643717066; bh=mNl3hE8dJeEbpvS7ZwWXdgfEHtftOE7CdNqDXlv1c6U=; h=Date:From:Subject:To; b=h17G2c1YmmeAeZjBPQ+f+WPwK31ssTucR41JFKFQVgA6OdD8iDPgD1vQQieEkeBGe 07yIJcwdGU2zYHbbcIXTxEKLE5ZhrKQqmJ4zLqM/xgEREh5xo72BhotGIZiT6xDr4C mcC2HXYGjdQzH2xap7uY19Nq0Wdy8MUjzo1jkF2M5aMfI2S0Rf92ef2VslJ3ps+o9n cTDwa8M/K05mdZBSjaHuSjDtnBkVXnTQkxwU7utZx0nKSZczF51xuEmtfNacl0tfPs WvCbEMIqp74nmQhEkAUTR53kWIs9vRrl1CIvYB9S/iyHtpPHSjKk34COtu57Hf2qaY TvycFIZbgtisA== From: psychosis Subject: [FR][org-cite][oc-basic] Persistent Cache for Bibliography To: emacs-orgmode@gnu.org Message-Id: <77KM6R.3BGD0Z3Z4PHF1@disroot.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Received-SPF: pass client-ip=178.21.23.139; envelope-from=psychosis@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, 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: , 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=1643718358; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=lQhbDOdFfkTbK3ZIpniugO/Hz4mWNHPB+8hKpkQ1zes=; b=FmQDZmcXpgq+AvWz4ybxja1jmAN1SnKFguAflcligolufIt/5IIeyyhYbBR/NoZzLNKhgh OF+NP/rhrkOHCopjD4V1GtpT6iYytcX4wxBUULbEimocDwDmpvFgQ1kx+DvqavFr9VOC35 y9+KPY3EyE+aBW2RQ5x2Z61WHWiVhKy5IqUaTixUVutoqFj/LsXOGaljWOCCpEl/LakJLP oht/6um7Wv+NxmwLn3POCsnYLz5bvR6Qg+RtZuWe2S/CF1/LEt7YWlg8E7hugGWUPrY3rS 6UMYXpQLFpXz7Yob67YCR7rxMUSibPW3KwULujZJSTwr6SW/IRoa/QnRd9XG1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1643718358; a=rsa-sha256; cv=none; b=HdznjE3kRU/czfByKJP/Hu1bH5OQOhWDKY7qUuvm6gT3ol8xLBMvO5FlqXEcv+R4jk6vJ+ oNHU8IFJB6tGw07GtyggrM956TEz+QOS+RQxfubOHBgKVDnz5Te9lrirbCpQ7p8cwVo8F3 d7y5C3KUIQ9Mut5MplVrzv11y5w+53RELo9/2YWycZ6cgHc8ZESnblKsCU8mkggXpjkZmn Eb7kLkea/zUvpiIMxE8bF5DBVnKY56l+6pP97ehJzjJGyvZHSx76BOCGeuqYuCSSPmGQyB xKRdmhdjEvSlmvsVhFGVJQuWhjz7OFfScB4wvNEXVXE5JT6trfCpAHiKI8Uv+g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=h17G2c1Y; dmarc=pass (policy=quarantine) header.from=disroot.org; 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: -8.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=disroot.org header.s=mail header.b=h17G2c1Y; dmarc=pass (policy=quarantine) header.from=disroot.org; 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: ADBAA2C469 X-Spam-Score: -8.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: C+99JsK1vMcN Hello, 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? Regards, Paul