-
Notifications
You must be signed in to change notification settings - Fork 2.1k
memory leak category page #3787
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
memory leak category page #3787
Conversation
pkarw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wow, @gibkigonzo nice one's!
|
update 8ea7f81 |
|
@gibkigonzo I think that
The thing is that So I'd rather keep it as it was + maybe clear it out ( |
pkarw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do some QA with the config.server. useOutputCacheTagging set to true and make sure the cache tags are still passed back via context/$ssrServerContext (it's the same object, used for the communication from Vue layer to server layer): https://github.com/DivanteLtd/vue-storefront/blob/19b46b8dbf6a0e2e3e6bdc3b43dad38b4cbbffaa/core/scripts/server.js#L192
|
It is shared because node keep cached module between requests. It's easy to test, for example add in As I understand |
|
@gibkigonzo nice observation. OK so |
|
I tested |
andrzejewsky
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great work! 👍 👍
|
Just did some load testing - the main issue with |
closes #3805
Short description and why it's useful
storage.ts- when set/get value from cache it should always be without referenceWhich environment this relates to
Check your case. In case of any doubts please read about Release Cycle
developbranch and want to merge it back todevelopreleasebranch and want to merge it back toreleasehotfixormasterbranch and want to merge it back tohotfixUpgrade Notes and Changelog
IMPORTANT NOTICE - Remember to update
CHANGELOG.mdwith description of your changeContribution and currently important rules acceptance