unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: swedebugia@riseup.net
To: guix-devel <guix-devel@gnu.org>, Julien Lepiller <julien@lepiller.eu>
Cc: Guix-devel <guix-devel-bounces+swedebugia=riseup.net@gnu.org>
Subject: npm-explorer now with cache! (Was: Re: Need help rdelim. Trying to add caching to the npm-explorer)
Date: Thu, 13 Dec 2018 13:19:03 -0800	[thread overview]
Message-ID: <7ef670ce294b800f3a600aa3ede66aeb@riseup.net> (raw)
In-Reply-To: <72291bb2-4f56-f73f-d07d-ac27b7a50f9e@riseup.net>

[-- Attachment #1: Type: text/plain, Size: 580 bytes --]

Hi people

I added a disk-caching and documented the npm-explorer.

Now we can share caches if we want.

The graph of ssb-patchwork (a scuttlebutt network server and client) is
attached - it has 536 recursive dependencies.

After having the packages.json in the cache it is lightning fast! 13
seconds instead of 8 minutes of fetching from npm-registry! 

The script now lives (also) here:
https://gitlab.com/swedebugia/guile-npm-explorer

----
On 2018-12-13 13:15, swedebugia wrote:
snip

I found the error. I had 2 functions with the same name http-fetch. 
-- 
Cheers 
Swedebugia

[-- Attachment #2: ssb-p.svg.bz2 --]
[-- Type: application/x-bzip2, Size: 123567 bytes --]

      reply	other threads:[~2018-12-13 21:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-13 12:15 Need help rdelim. Trying to add caching to the npm-explorer swedebugia
2018-12-13 21:19 ` swedebugia [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7ef670ce294b800f3a600aa3ede66aeb@riseup.net \
    --to=swedebugia@riseup.net \
    --cc=guix-devel-bounces+swedebugia=riseup.net@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=julien@lepiller.eu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).