Skip to content
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

urlCache should die in a fire #261

Open
unscriptable opened this issue Mar 12, 2014 · 0 comments
Open

urlCache should die in a fire #261

unscriptable opened this issue Mar 12, 2014 · 0 comments

Comments

@unscriptable
Copy link
Member

urlCache was added to solve some use cases that curl.js didn't handle. Unfortunately, it has caused other issues. I'm thinking it's really not the right solution. I'll collect the use cases for urlCache here, so we can figure out the best way to remove it.

What is urlCache? As of a few versions back, curl.js has two internal caches: one for modules keyed by module id (cache) and one for modules keyed by url (urlCache). If curl can't find a module in cache, it looks in urlCache.

If we remove urlCache, issue #260 will be fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant