Watch
1
0
Fork
You've already forked pkg-proxy
1
mirror of https://github.com/git-pkgs/proxy.git synced 2026-11-10 08:09:17 -05:00
pkg-proxy/internal/server/templates/components
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Simon Chrzanowski 92b1fb20a6 Follow npm and Packagist change feeds to revalidate changed metadata
Within metadata_ttl cached npm and Composer metadata is served without
asking upstream, so a new release can take that long to show up. Both
registries publish a feed of the packages that changed.

upstream.npm_change_feed and upstream.composer_change_feed (off by
default, require cache_metadata) start a reader per feed that runs every
minute and clears fetched_at on the cached rows of listed packages that
were fetched before the read. The rows keep their document and ETag, so
the next request revalidates them upstream. Routed packages are cached
under other keys and never match. A Packagist resync expires all cached
Composer metadata. Failed reads back off up to 15 minutes. The feed
position is kept in memory, so after a restart the reader starts from the
feed's current position.
2026-10-27 16:31:47 +01:00
..
ecosystem_badge.html Remove hard-coded ecosystems from templates 2026-03-11 17:25:47 +00:00
runtime_metrics.html Follow npm and Packagist change feeds to revalidate changed metadata 2026-10-27 16:31:47 +01:00
security_overview.html Add the /ui/analytics page 2026-10-01 16:15:03 +02:00