Comments (2)
Implementing the obvious ETag based caches for getPackageConfig
and checkReleases
. locate
is trickier - the current implementation uses the website, which does not seem so support If-Modified-Since
or If-None-Match
.
Will try out a solution where /users/<owner>/repos/
is cached and used for these lookups. Since this will leave us blind to repo renames, we'll still fail over to the website call (which is still indeterminate - and may fall through to lookup
to reject).
Cannot see any way to cache lookup
- ls-remote
doesn't seem to provide any quick check for changes. That's OK because probably most time is spent in negotiation and calculating and sending the heads is probably negligible.
No cache required for downloads - lean on JSPM cache there
from github.
There are three large requests here: checkReleases
, locate
and ls-remote
for lookup
. As @crisptrutski notes, we can't cache ls-remote
unless we internally implement the git request, so that's blocked on #25. lookup
can actually now be handled via #54, so that just leaves checkReleases
as the main thing to cache here.
Renaming title to match.
from github.
Related Issues (20)
- Request for package information failed: tunneling socket could not be established, cause=connect ETIMEDOUT (5 attempts) (ECONNRESET) HOT 1
- Mocha - testing files with dependancies
- Bump version number to reflect updated deps HOT 3
- `jspm install` not working for private repo HOT 4
- update rimraf HOT 2
- npm package out of sync with repository HOT 1
- Github token without repo:public_repo OAuth scope causes 404 for loader files only
- Is installing a specific commit supported?
- npm ERR! fetch failed
- Timeout issues in Node 8 HOT 2
- Semver Support
- Can't install due to ?access_token=... in repo url HOT 1
- Unable to jspm install Github release archive HOT 1
- Installing bootstrap with jspm 0.16.53 and node 10 throws "TypeError [ERR_INVALID_CALLBACK]: Callback must be a function" HOT 5
- error while installing jspm packages HOT 23
- Missing release pagination handling causes wrong main entry HOT 2
- github-jspm ...remotes.authHeader install issue with version "jspm-github": "^0.13.17", HOT 2
- Install fails when using new Github token and Github Auth HOT 2
- Error on getPackageConfig with jsmp v0.13.26 HOT 13
- Add SECURITY.md HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from github.