-
-
Notifications
You must be signed in to change notification settings - Fork 480
Open
Description
When accessing various package metadata (e.g. https://repo.packagist.org/p2/automattic/jetpack-autoloader.json), it sometimes shows outdated information for hours.
It seems #1606 was closed, but the issue remains. In particular, we've had it reported when people are accessing from non-US locations (e.g. Asia/Pacific). Perhaps there's a CDN propagation issue?
As noted in the other issue, adding a cache-buster param or via a proxy shows the updated metadata.
Pure speculation, but perhaps this is happening:
- The new version of the package is uploaded, and is recorded as updated as of timestamp X.
- A package version check hits some non-primary CDN instance, caching the page at timestamp Y.
- The main source propagates out to the CDNs, clearing cached pages of that package that are older than X.
Because the caching on step 2 occurred after X, it isn't auto-purged on step 3.
Metadata
Metadata
Assignees
Labels
No labels