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

Disable loading of cart on non-cart pages #1401

Merged
merged 1 commit into from
Dec 17, 2018
Merged

Disable loading of cart on non-cart pages #1401

merged 1 commit into from
Dec 17, 2018

Conversation

bookernath
Copy link
Contributor

What?

Disable loading the Cart resource unless we're on the cart page.

This was only used for loading the "quantity in cart", but in #1379 we now do this with a frontend API call.

Turning this off will improve performance.

ping @junedkazi - just opening this for your convenience.

@bigbot
Copy link

bigbot commented Dec 11, 2018

Autotagging @bigcommerce/storefront-team @davidchin

@mattolson mattolson merged commit 8dde869 into bigcommerce:master Dec 17, 2018
@bookernath bookernath deleted the disable-cart branch December 17, 2018 22:45
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

Successfully merging this pull request may close these issues.

3 participants