We have been talking about page speed a fair bit lately. I have actually become pretty obsessive about it.

This lead me to make a fair few simple script adjustments to improve my homepage load time.

I setup a GTMetrix monitor on the homepage of Divi Framework and found the cart fragments load was slowing down my page at random times.

Overall I thought removing it on the homepage would make sense, so I experimented and found it was an excellent choice to turn it off.

How do you turn of the Cart Fragments? Lets me show you how.

First – Open your functions.php in your child theme.

Second – Past in our code snippet to your functions.php file

Third – save it an enjoy the time savings.

You can extend this to other pages if you want to. For now I only do it on my homepage.

30 day Money Back Guarantee

30 day Money Back Guarantee

If you aren't happy with our products, you get your money back. No questions asked.
Full Support on Every Product via our Helpdesk

Full Support on Every Product via our Helpdesk

Excellent documentation and dedicated support are all part of the service
Secure using Stripe and PayPal

Secure using Stripe and PayPal

We take your security seriously and have every page secured via SSL on our site.

We Offer both PayPal and Stripe for Payment.

Share This