-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle cache invalidation for @latest versions in multibundles #75
Comments
Here are things I know:
It's possible there's a bug in here somewhere. |
its mostly a UI issue on requirebin, I just opened an issue here max-mapper/requirebin#46 I'm pretty sure browserify-cdn is working correctly |
closing & migrating to max-mapper/requirebin#46 |
Sure, the cache is busted for individual packages, but what about for multi bundles, which I believe is what requirebin is using? Seems like those are cached based on hashing the POST payload (https://github.com/jesusabdullah/browserify-cdn/blob/a64785faaf0325093a0552f9206c8384c017c6c1/multiple.js#L52). This means the cache wouldn't get invalidated by a package update to npm if someone was using Unless I'm misunderstanding? For reference, I published a package a half hour ago, and while the |
No, I think you're correct. Of course, fixing this is non-trivial. I'll reopen the issue. |
ah, right, we need to:
|
When i do
console.log(require('mercury').h)
in requirebin, it prints an old version ofh
It looks like this is a cache invalidation problem or an issue of getting the wrong mercury.
Maybe this is a problem in wzrd.in
Maybe this is an issue with requirebin accepting any version of mercury.
It would be nice to:
This is also a requirebin UI issue.
Placing this issue here since I think the root cause is cache invalidation.
cc @maxogden @jesusabdullah
The text was updated successfully, but these errors were encountered: