We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have the following functions:
self.loadUrlText = function(url, callback) { d3.text(url, undefined, function(error, result) { callback(error, result); }); } self.loadUrlPage = memoize(self.loadUrlText, { async: true, max: 100, maxAge: 1000 * 60 * 60 });
However after I call:
if (noCache) { alert('Uncache: ' + url); self.loadUrlPage.delete(url); }
the memoized function still keeps returning the cached value without calling the underlying function.
The text was updated successfully, but these errors were encountered:
Oh, sorry it was the browser cache! (Just put another alert into the loadUrlText() function)
Sorry, something went wrong.
No branches or pull requests
I have the following functions:
However after I call:
the memoized function still keeps returning the cached value without calling the underlying function.
The text was updated successfully, but these errors were encountered: