Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Where in AbleCommerce is this script being loaded? I'm only displaying the first part of the script.
function onCartUpdate(){typeof storeheadernavigation!="undefined"&&storeheadernavigation.refresh();typeof storemenu!="undefined"&&storemenu.refresh(!0)}function onAddedToCart(n){var i=n.Successful,t=n.TargetUrl;i&&(typeof
We are slowly removing scripts from our site and transferring them to Zaraz. Removing this script from the main server and putting it on an edge server will save us 100K in resources.
So far, we have been very successful in transferring over third-party scripts.
Thanks
|
|
|
|
Rank: Advanced Member
Groups: Admin, Developers, Registered, HelpDesk, Authorized User Joined: 10/5/2018(UTC) Posts: 704
Thanks: 5 times Was thanked: 113 time(s) in 112 post(s)
|
The code is coming from \Website\Scripts\app.js file.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close