-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
require: How to require a file and will not automatically append to the cache? #689
Comments
You can remove it from the cache manually. But since you should |
Why are you concerned about the cache becoming "bigger and bigger?" It's almost always just object references, so it's not taking up as much memory as you are likely thinking. So even if you Also: |
The internals of I'm closing this issue. If you feel your question is not sufficiently answered, feel free to re-open it. |
Just question, I know it will be automatically appended to the cache when requiring.
And The cache will become bigger and bigger.
But sometimes I just want to
load-once
a file, How do to that?Provide new API?
The text was updated successfully, but these errors were encountered: